Gets the next single character from stdin. So, you will have to input for it to get it.

char a = getchar(); // a single character will be the new value

putchar() is the opposite of this gets() is the better version of this