Put braces around if statement code, part 2

This tip submitted by PING on 2005-01-14 21:11:28. It has been viewed 21240 times.
Rating of 5.3 with 155 votes

Try out this little program and you will realise that braces need to be put after the if statement.

 int main()
    int a=0;
        #define a 5
    return 0;

More tips

Help your fellow programmers! Add a tip!