0 votes 0 votes char ch; scanf("%c",&ch) // after I do scanning of this variable then after I press enter key then it gets stored inside the buffer so can we print this enter key .Since during the next call to scanf function the enter key gets stored inside the variable . radha gogia asked Jul 21, 2015 radha gogia 324 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Do one more scanf("%c", &ch) Now, ch will have Enter. So, do printf("c", ch); Arjun answered Jul 21, 2015 Arjun comment Share Follow See all 0 reply Please log in or register to add a comment.