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

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

Q: What is the output of the following program?

void main(){
int a;
a=1;
while(a<=1)
if(a%2)
printf("%d",a++);
printf("%d",a+10);
}
A. 2 11 B. 1 11
C. 2 12 D. 1 12

Answer and Explanation

Answer:1 12

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.