Home >Topic List >Introduction to input functions in c language

Introduction to input functions in c language

C language input functions include scanf function, getchar function, gets function, fgets function, scanf_s function, etc. Detailed introduction: 1. The scanf function is used to read data from the standard input stream. It can convert the input data into the corresponding type according to the specified format string and store it in the specified variable; 2. getchar function , used to read a character from the standard input stream, it will wait for the user to input a character, and return the ASCII code value of the character; 3. gets function, etc.

Related coursesMore>