c read input by character code example Example: get user input c int c; printf( "Enter a value :"); c = getchar( );