Welcome Guest | Sign in | Register
Loops - Discussion Page For Q.10458 | 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 the following program?
void main(){
int a;
a=10;
while(a++<=15)
printf("%d",a);
printf("%d",a+10);
}
A. 10 11 12 13 14 15 16 B. 11 12 13 14 15 16 27
C. 10 11 12 13 14 15 25 D. 11 11 12 13 14 15 25

Answer and Explanation

Answer:11 12 13 14 15 16 27

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.