In octal, it would be
unsigned char foo = 032; // a leading zero.
You can't specify binary constants in standard C, though some compilers designed for small embedded processors do as an extension.
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Offline 7,164 posts
since Dec 2005