Computer Science, asked by sagar36940, 4 months ago

explain the difference between scanf and printf​

Answers

Answered by SHAREEF67
1

Answer:

The command scanf looks like scanf (“format string”, argument list). It is there to take an input, usually from the keyboard if that is the default device. ... So, the main difference is that one is for reading an input (scanf) while the other is for providing an output from the program (printf).

Explanation:

hope its helpful for you

Answered by bharathukkusuri
1

Explanation:

The command scanf looks like scanf (“format string”, argument list). It is there to take an input, usually from the keyboard if that is the default device. ... So, the main difference is that one is for reading an input (scanf) while the other is for providing an output from the program (printf).

Similar questions