2
4
Would vary from compiler to compiler
Error, i undefined
Output is z2
Output is z1z2
This will result in compilation error
None of these
Rate this question:
Garbage values
2 3 3
3 2 2
0 0 0
3 4
4 3
4 4
Output may vary from compiler to compiler
1
0
Error
5
F1, f2, f3
F3, f2, f1
The order may vary from compiler to compiler
None of these
C
C++
Error
None of the above
6.0
6.000000
6
Some absurd result
Y = (int) (x + 0.5);
Y = int (x +0.5);
Y = (int) x + 0.5;
Y = (int (int) x + 0.5;
A float
A double
A long double
Depends upon the memory model that you are using
4 4 4
4 Garbage value
4 8 10
Error
Results in bus error
Results in segmentation violation error
Will not compile successfully
None of these
Rate this question:
Error
D
E
Abcdefgh
Error
Strings
Cannot predict
None of these
Vararg. h
Stadlib. h
Stdio. h
Stdarg. h
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.