how to take a char as input c code example Example: how make a character in c scanf scanf(" %c", &c);