use printf without semicolon

Go4Expert Member
29Sep2007,16:16   #1
Ziaur Rahman's Avatar
Code:
#include<stdio.h>
main()
{
      if(printf("Ziaur Rahman"))
      {
      }
}
Team Leader
30Sep2007,21:48   #2
DaWei's Avatar
So what the hell did you gain? You typed more characters than if you had just used the semicolon. Things like this are well known by professionals. You may generally presume that such an exercise is merely silly and a waste of time and effort.