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

Home > Java Programming > Switch-case > Questions and Answers

Q: What will be output when you will execute following c code? 

#include
void main(){
switch(5||2|1){
case 3&2:printf("Anatomy of a Murder");
break;
case -~11:printf("Planet of Apes");
break;
case 6-3<<2:printf("The conversation");
break;
case 5>=5:printf("Shaun of the Dead");
}
}
A. Anatomy of Murder B. Planet of Apes
C. The conversation D. Compilation error

Answer and Explanation

Answer:Compilation error

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.