Explain different input and output functions in c with example (scanf,printf,gets,puts).
Question
Solution 1
Sure, here are some of the most commonly used input and output functions in C:
scanf
: This is an input function used to read data from the keyboard. It reads the value, converts it into the specified data type and then stores it in the memory.
Example:
int num;
printf("Enter a number: ")
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study prob
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solve study problem.
Knowee AI StudyGPT is a powerful AI-powered study tool designed to help you to solv
Similar Questions
Explain different input and output functions in c with example (scanf,printf,gets,puts).
Which of the following function is more appropriate for reading in a multi-word string? ans. scanf() printf() gets() puts()
Which of the following function is more appropriate for reading in a multi-word string? gets() puts() scanf() printf()
Which of the following function is more appropriate for reading in a multi-word string? ans. gets() puts() printf() scanf()
Which of the following function is more appropriate for reading in a multi-word string?ans.puts()scanf()gets()printf() Previous Marked for Review Next