stdin to char* in c code example Example: stdin char c char opt; printf("insert char: "); scanf("%c", &opt);