Expressions - Find Output of Program Multiple Questions and Answers.




1.What will be the output of the program?
A. 1, 2, 3, 1
B. 2, 3, 1, 2
C. -2, 3, 1, 1
D. 3, 3, 1, 2

2.Assuming, integer is 2 byte, What will be the output of the program?
A. Error
B. fff8
C. 0
D. ffff

3.What will be the output of the program?
A. z=2
B. z=4
C. z=1
D. z=0

4.What will be the output of the program?
A. 1, 0, 1
B. 1, 1, 1
C. 0, 0, 0
D. 0, 1, 0

5.What will be the output of the program?
A. 1, 1, 1, 1
B. 1, 1, 0, 1
C. 1, 0, 0, 1
D. 1, 0, 1, 1




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