C Program To Display Hello Without Using Semicolon

In C/C++ a semicolon is used to terminate the statement.But if,while,switch(conditional constructs) do not require a semicolon to terminate.So if we use the printf statement inside these conditional constructs,then we do not require any semicolon to terminate the statement.

Comments

  1. It would be nice if you can use syntax highlighter for the code.

    ReplyDelete

Post a Comment