Bitwise Operators - Point Out Correct Statements :: Discussion


4.Which of the statements is correct about the program?
A.It will put OFF all bits that are ON in the number n
B.It will test whether the individual bits of n are ON or OFF
C.It will put ON all bits that are OFF in the number n
D.It will report compilation errors in the if statement.
Answer:  Option  B
Explanation:

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

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