C language: input characters and output them

Simple c
input characters from the keyboard and output
Insert picture description hereInsert picture description herethem where gertchar is the input function and putchar is the output function; and when inputting characters in the execution of the program, be careful not to separate two characters with a space, because a space is also considered a character , So when outputting, the space character will be assigned to b.

Guess you like

Origin blog.csdn.net/m0_52405419/article/details/115332387