Bitwise Operators - Find Output of Program Multiple Questions and Answers.




1.Assuming, integer is 2 byte, What will be the output of the program?
A. ffff
B. 0000
C. ffdf
D. ddfd

2.If an unsigned int is 2 bytes wide then, What will be the output of the program ?
A. ffff
B. 0000
C. ffdf
D. ddfd

3.Assuming a integer 2-bytes, What will be the output of the program?
A. ffff
B. fff8
C. 0
D. -1

4.If an unsigned int is 2 bytes wide then, What will be the output of the program ?
A. ffff
B. 0000
C. 00ff
D. ddfd

5.What will be the output of the program?
A. 0
B. 256
C. 100
D. 80

»



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