#include<stdio.h>
int main()
{
int x=2, y=0;
int z = x && (y=1);
printf("%d\n", z);
}
Which class allows only one object to be created?
Choose the recursive formula for the Fibonacci series.(n>=1)
The output of the code below is
void main()
{
int k = 8;
int m = 7;
k < m ? k++ : m = k;
printf("%d", k);
}
Which of the following operations can be performed on a pair?
Find out the error in the following code sample:
my_struct_t *bar;
memset(bar, 0, sizeof(*bar));
What is the meaning of char **argv;?
Which of the following is the incorrect statement?
Talika wants to implement a heterogeneous linked list for her project. Which of the following will help her do the same?
Which of the following statements about pointers in C++ inheritance is correct?