56 .
What will be output of following C code ?

#include<`stdio.h`>    (Please neglect `` this signs)
extern int x;
int main()
{
do
{
do
{
printf("%o",x);
}
while(!-2);
}
while(0);
return 0;
}
int x=8;
A.0
B. 8
C. 9
D.10
E.11
View AnswerAns: 10
57 .
Output of the following program fragment is :
x = 5;
y = x++;
printf("%d%d", x, y);

A.5, 5
B. 5, 6
C. 6, 5
D.6, 6
E.None of these
View AnswerAns: 6, 5
58 .
What will be output of following C code ?

#include<`stdio.h`>    (Please neglect `` this signs)
int main()
{
static int i;
for(++i;++i;++i)
{
printf("%d ",i);
if(i==4) break;
}
return 0;
}
A.4
B. 24
C. 25
D.34
E.Infinite loop
View AnswerAns: 24
59 .
The loop in which the statements within the loop are executed at least once is called ______
A.do-while
B. while
C. goto
D.for
E.None of these
View AnswerAns: do-while
60 .
The statement that prints out the character set from A-Z, is :
A.for( a = 'z'; a < 'a'; a = a - 1) print f("%c", &a);
B. for( a = 'a'; a <= 'z'; a = a + 1 print f("%c", &a);
C. for( a = 'A'; a <= 'Z'; a = a + 1) print f("%c", a);
D.for( a = 'Z'; a <= 'A'; a = a + 1) print f("%c", a);
E.None of these
View AnswerAns: for( a = 'A'; a <= 'Z'; a = a + 1) print f("%c", a);