Hacker News new | ask | show | jobs
by NelsonMinar 4843 days ago
int x = 'FOO!';

Took me awhile to understand this; single quotes define single characters, and for some C decided to allow multiple character character constants but leave their value as implementation-defined. Discussion: http://zipcon.net/~swhite/docs/computers/languages/c_multi-c...