Which header file is used to declare the complex number in C++?
How many times abc is printed?
int main()
{
int a = 0;
while(a++ < 5-++a)
printf("abc");
return 0;
}
A continue statement causes execution to skip to the _____ of the loop
What is the output of the following C code?
main()
{
struct emp
{
int a;
char b;
};
struct mn
{
double c;
struct emp d;
}q;
printf("%d",sizeof(q));
}
What is the correct syntax to declare a function foo() which receives an array of structures as a parameter?
Which of the following operations is not possible with a register variable?
Which of the following is an advantage of a Forward iterator over an input or output iterator?
#include<stdio.h>
int main()
{
int x;
for (x=1; x<=10; x++)
{
if (x < 5)
{
continue;
}
else
{
break;
}
printf("Hello world");
}
return 0;
}
“typedef” in C basically works as an alias. Which of the following is correct for “typedef”?