const BOOL ShowAllControls=TRUE;
if(somecondition() || ShowAllControls) {
}
else {
}
crosspost at code_wtf
Doing things exactly the right way
const BOOL ShowAllControls=TRUE;
if(somecondition() || ShowAllControls) {
}
else {
}
#include <stdio.h>
int main(int argc,char* argv[]) {
int a = 3["magic"];
int b = *(3+"magic");
int c = "magic"[3];
printf("a = %d\nb = %d\nc = %d\n",a,b,c);
}