Monday, February 23, 2009

Put braces around if statement code, part 2

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


int main()
{
int a=0;
if(a!=0)
#define a 5
printf("%d",a);
return 0;
}

Author : Ping

0 nhận xét:

Post a Comment