WorksheetsC Programming Quiz
Total questions: 18
Worksheet time: 9mins
What will be the output of the following 'C' code? void main ( ) { int x = 128; printf ("\n%d", 1 + x ++); }
128
129
What will be the output of the following 'C' code? #include
0
1
What will be the output of the following 'C' code? #include
x=2 y=-16
x=-2 y=16
What will be the output of the following 'C' code? #include
x=16
x=4
What will be the output of the following 'C' code? #include
x=-1
x=1
What will be the output of the following 'C' code? #include
1, 1.000000
0, 0.000000
What will be the output of the following 'C' code? #include
7
1
What will be the output of the following 'C' code? #include
x= 0, y= 0
x= 1, y= 1
What will be the output of the following 'C' code? #include
ans= 1
ans= 0
What will be the output of the following 'C' code? #include
ans= 100
ans= 200
What will be the output of the following 'C' code? #include
ans= 1
ans= 0
What will be the output of the following 'C' code? #include
ans= 1
ans= 0
What will be the output of the following 'C' code? #include
10 20 30
10 20 0
What will be the output of the following 'C' code? #include
k= 200
k= 100
What will be the output of the following 'C' code? #include
ans= 30
ans= 20
What will be the output of the following 'C' code? #include
15
5
What will be the output of the following 'C' code? #include
9
6
What will be the output of the following 'C' code? #include
0
1
