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

Home > Java Programming > If statements > Questions and Answers

Q: Which one of the given option is correct?
void main()
{
int i;
i=2;
lucentblackboard:
printf("%d",i);
i=i+2;
if(i<=20)
goto lucentblackboard;

}
A. 3 5 7 9 ....... 21 23 B. 2 4 6 8 ....... 20
C. 3 5 7 9 ....... 21 D. 2 4 6 8 ....... 20 22

Answer and Explanation

Answer:2 4 6 8 ....... 20

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.