Original Post
I got this question in an entrance test for a game programming skool, and I was extremely stuck on how to do it...
Write a function to flip bit 7 of a char (eg. If I have the value 35 – which in binary is: 00100011 and I flip bit 7 it should become 10100011 – or 163 and if I flip bit 7 of 163 it would become 35).
any ideas?