I've seen people do a good deal of weird stuff, two of my favorites:
int i; i^=i; // optimization, makes i = 0, but faster.
char str[32];
strcpy(str, "foo");
strcat(str, "\0"); // set null terminator
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
I've seen people do a good deal of weird stuff, two of my favorites:
int i; i^=i; // optimization, makes i = 0, but faster.
char str[32];
strcpy(str, "foo");
strcat(str, "\0"); // set null terminator