void main()
{
if(printf("C Programs"))
{}
}
A semicolon is used to terminate a statement.But a condition used in an 'if' construct does not requires a semicolon to terminate.So if we use the printf statement as a condition inside these constructs,then we don't require any semicolon to terminate the printf statement..
No comments:
Post a Comment