Declarations and Initializations - Find Output of Program Multiple Questions and Answers.




1.What is the output of the program given below ?
A. 1, 3, 2
B. 0, 2, 1
C. 1, 2, 3
D. 0, 1, 2

2.What will be the output of the program in 16 bit platform (Turbo C under DOS)?
A. 2
B. 4
C. vary from compiler
D. Linker Error : Undefined symbol 'i'

3.What is the output of the program?
A. 20
B. 200
C. Garbage Value
D. Error

4.What is the output of the program in Turbo C (in DOS 16-bit OS)?
A. 2, 4, 6
B. 4, 4, 2
C. 2, 4, 4
D. 2, 2, 2

5.What is the output of the program?
A. 0, 0.000000
B. Error
C. Garbage values
D. None of above

»



Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers