how to take anu type input in one variable in c code example Example: get user input c int c; printf( "Enter a value :"); c = getchar( );