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

Home > Java Programming > Loops > Questions and Answers

Q: What is the output of following program?
void main(){
int a,b;
for(a=b=10;a;printf("%d%d%d",a,b))
a=b++<=12;
printf("%d%d",a+10,b+10);
}
A. 1 12 1 12 1 13 0 14 10 24 B. 1 11 1 11 1 13 0 14 10 24
C. 1 11 1 12 1 13 0 14 10 24 D. 1 11 1 12 1 14 0 14 10 24

Answer and Explanation

Answer:1 11 1 12 1 13 0 14 10 24

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.