Hi,
At http://www.cs.cf.ac.uk/Dave/C I am studying C and I also (try to) make the exercises. I can't solve this one: http://www.cs.cf.ac.uk/Dave/C/node13.html#ex:bin
I tried something:Exercise 12507
Write a function that prints out an 8-bit (unsigned char) number in binary format.
Actually, I don't have a clue how to do thisCode:#include <stdio.h> int main(int argc, char **argv) { unsigned char x; x = 89; printf("%d", x); return 0; }