Welcome Guest | Sign in | Register
Operators - Discussion Page For Q.10673 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Operators > Questions and Answers

Q: What will be printed as the result of the operation below?
main()
{
int x=5;
printf("%d,%d,%d",x,x<<2,x>>2);
}
A. 5,21,1 B. 5,20,1
C. 5,19,0 D. 5,19,1

Answer and Explanation

Answer:5,20,1

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.