Question 1
m _ o p _ _ o p _ n _ p _ _ o pChoose the correct option such that when letters from the option are sequentially placed between the gaps in the series, the series gets completed.
Question 2
#include<stdio.h>
int main()
{
int a = 5, b = 10%9, i;
for(i=1; i<10; i++)
if(a != b);
printf(\"a = %d b = %d\\n\", a, b);
return 0;
}
Question 3
Predict the output of the below C program:
#include <stdio.h>
int main()
{
int i = 2, j = -2;
if((printf(\"%d\", j)) < (printf(\"%d\", i)))
printf(\"%d\", i);
else
printf(\"%d\", j);
return 0;
}
Question 4
#include <stdio.h>
int main()
{
int a = 2;
if(\"%d=gfg\", a);
return 0;
}
Question 5
#include <stdio.h>
int main()
{
int x = 2;
do{
++x;
printf(\"%d\", x);
} while(--x <= 2);
return 0;
}
Question 6
#include <iostream>
using namespace std;
int main()
{
float _ = 20.5;
int __ = 20;
cout<< __ + _ <<endl;
return 0;
}
Question 7
#include <stdio.h>
int main()
{
int a = - -3;
printf(\"a=%d\", a);
return 0;
}
Question 8
#include <stdio.h>
int main()
{
int a = 5, b, c = 15, d = 13;
b = (a = c, c += a, d = a + c + d);
printf(\"%d %d %d %d\", a,c,b,d);
return 0;
}
Question 9