how make a character in c scanf

C
scanf(" %c", &c);
Source

Also in C: