Why not use: x = !x;?

Of course! Almost always. :sunglasses:

And of course, not portable.

You always use assembler if you need high performance, efficient and reliable code. Mostly you do not and "C", "C++" is a matter of convenience. Certainly, it takes skill, but that was never really a question. :grin:

56 is OK; I'll keep my eye on #100. :rofl: