Torture in C

From Bruce Schneier’s blog, the following is a small piece of C code summarizing the terrorist treatment bill.


if(person = terrorist) {
punish_severely();
} else {
exit(-1);
}

This code segment is apparently trivial. However those familiar with C programming might notice a small but important subtlety in the code. See it?

If you enjoyed this article, please consider sharing it!
Icon Icon Icon

Related Posts