get char* input C code example
Example 1: how make a character in c scanf
scanf(" %c", &c);
Example 2: get user input c
int c;
printf( "Enter a value :");
c = getchar( );
scanf(" %c", &c);
int c;
printf( "Enter a value :");
c = getchar( );