3 ms·> return (char *[]){"No", "Yes"}[!!x]; I prefer return (!x<<2)+"Yes\0No";by Sharlin 7y ago> return (char *[]){"No", "Yes"}[!!x]; I prefer return (!x<<2)+"Yes\0No";bear8642 7y agoClever! Though feel having "No" relate to x = 0 is slightly clearerSharlin 7y agoBut surely the goal here is the opposite of clarity? :)gallier2 7y agoclang will warn as it doesn't like int+string constructs. &"Yes\0No"[!x>>2]; // same number of characters to shut it up.