C language scanf and printf output input problem

A line of code cannot print a variable of type int,float,double,char

the last char type variable cannot be printed, and setbuf (stdin,NULL)

is added.
C
Mar.07,2021
In

scanf, c reads a space, so it outputs a space

Menu