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.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953