What does the function objects implement?
In C++, how many return statements are allowed in a non-void function?
#if or #elif can be used to evaluate _____
Which of the following operators can be applied on structure variables?
What is the output of the following C program?
int main()
{
unsigned int i = -1;
printf("%d ", i);
printf("%u ", i * -1);
}
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int k = 4;
float k = 4;
printf("%d", k)
}
Which of the following provides a programmer with the facility of using object of a class inside other classes?
What is the output of the following C program?
int main()
{
char str[]={{'H'},{'E'}};
printf("%s\n",str);
printf("%c ",*str-1);
printf("%c ",*str);
printf("%c ",*str+1);
printf("%c",*str+2);
}
Which of the following statement are correct?
(i) The maximum value a variable can hold depends upon its storage class.
(ii) By default all variables enjoy a static storage class.