Computer Science, asked by Lavleen9392, 1 year ago

Why printf() and scanf() are called formatted input/output functions?

Answers

Answered by boredpotatohead
6

Printf which is used for printing text on the screen

for eg. printf("Hello"); will give a output: Hello

so printf gives output and is called formatted output


Scanf which is used for taking input from the user

for eg. scanf("%d",&d); will take a input of a number in the variable d

so scanf takes input and is called formatted as input.


I hope this answer helps you

Answered by princesskhanna34
0

Answer:

that's ur answer....

plz follow me frnd and then I follow you

Mark me as brilliant

Attachments:
Similar questions