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

Home > Java Programming > If statements > Questions and Answers

Q: What is the output of the following program?
void main()
{
int i;
i=0;
if(i=55,0,10,0)
printf("Test Skills %d",i);
else
printf("C Programing %d",i);
getch ();
}
A. Test Skills 55 B. C Programing 0
C. Test Skills 0 D. C Programing 55

Answer and Explanation

Answer:C Programing 55

Explanation:
Condition is false come inside else part and print C Programing 55.

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.