Scanf function in C which allows the programmer to accept input from the standard input device (keyboard) and stores them in variables. The scanf is similar to printf function. Instead of printing data on the output device it reads data entered from the input device
Answers & Comments
Answer:
Scanf function in C which allows the programmer to accept input from the standard input device (keyboard) and stores them in variables. The scanf is similar to printf function. Instead of printing data on the output device it reads data entered from the input device
Bro it is used to take input from the user.l and also reads the formatted input from the standard input such as keyboards.