Functions - Programs Multiple Questions and Answers.




1.What will be the output of the program?
A. 237
B. 242
C. 240
D. 35

2.What will be the output of the following program?
A. -6
B. -8
C. 6
D. 8

3.What will be the output of the program?
A. a = 20 b = 40
B. a = 20 b = 30
C. a = 20 b = Garbage
D. a = Garbage b = 40

4.What will be the output of the program?
A. The program will print the output 10 20.
B. The program will print the output 10 0.
C. The program will print the output 10 garbage.
D. The program will report compile time error.

5.What will be the output of the program?
A. 20
B. 30
C. 40
D. 50




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