title: Write a byte to a file in C
body: <p>I have a byte declared as <code>unsigned int 0b11010101</code>how can I write this to a binary file as 1 byte? I know fwrite takes type <code>const void *</code>as a buffer but I don't know how to write my byte if it's represented as an unsigned int.</p>