37. | What will the following code print? int count;
for (count = 4; count > 1; count--)
System.out.print(count + " ");
|
|||||||
|
38. | What will be the value of `a` after the following code is executed #define square(x) x*x
a = square(2+3)
|
|||||||
|
39. | What will be output of the following program? #include
int main(){
int i=1;
i=2+2*i++;
printf("%d",i);
return 0;
}
|
|||||||
|
40. | What will be output of the following program? #include
int main(){
int a=2,b=7,c=10;
c=a==b;
printf("%d",c);
return 0;
}
|
|||||||
|
41. | main()
{
static int var = 5;
printf("%d ",var--);
if(var)
main();
}
|
|||||||
|
42. | What will be output when you will execute following c code? #include
int main(){
char a=250;
int expr;
expr= a+ !a + ~a + ++a;
printf("%d",expr);
return 0;
}
|
|||||||
|
« previous
1
2
3
4
5
6
7
8
9
next »