Placement Papers: GlobalEdge Placement Paper 1st May 2005
Doorsteptutor material for CTET/Paper-1 is prepared by world's top subject experts: get questions, notes, tests, video lectures and more- for all subjects of CTET/Paper-1.
- : TRUE ā¹ /
- What is the Output of the Program? main () {int a = 1; #define p a printf ( ā% d % dā a ++ , p ++) ;}
- 1,0
- 2,0
- 1 2
- none of the above
- Ans (d)
- What is the Output of the Program? #include < stdio. h > main () {#include < stdio. h > int a = 90; printf ( ā% dā a) ;}
- 90
- compilation error
- linker error
- runtime error
- Ans (a)
- What is the Output of the Program?
- What is the Output of the Program? main () {int a = 1; #define p a printf ( ā% d % dā a ++ , p ++) ;}
- main () {main () ;}
- compilation error
- runtime error
- executes until the stack overflows (1)
- none of the above
Ans (c)