Saturday, May 22, 2010

How dose if statement work in c program?

please show with digramatical reference

How dose if statement work in c program?
If you can tell me how to draw a diagram in this answer box, I'll be glad to.





It isn't hard





if is the keyword to begin the structure.





if (boolean)


statement;





statement executes if the boolean evaluates true, not if it doesn't, and execution continues with the statement afterwards in either case.


No comments:

Post a Comment