Main(){ signed int bit=512, i=5; for(;i;i--) { printf("%dn", bit >> (i - (i -1))); }}
A) 512, 512, 512, 512, 512
B) 256, 256, 0, 0, 0
C) 512, 256, 0, 0, 0
D) 256, 256, 256, 256, 256
Explanation: bit's value is not changed
-
Interview Candidate
- Dec 10th, 2005
- 1
- 2397
Showing Answers 1 - 1 of 1 Answers
Related Answered Questions
Related Open Questions
Main(){ signed int bit=512, i=5; for(;i;i--) { printf("%dn", bit >> (i - (i -1))); }}
B) 256, 256, 0, 0, 0
C) 512, 256, 0, 0, 0
D) 256, 256, 256, 256, 256
Explanation: bit's value is not changed
Related Answered Questions
Related Open Questions