Anonymous

What Is Scanf In C++ Language?

2

2 Answers

Anonymous Profile
Anonymous answered
Scanf is used to get the input from the users.
Format: Scanf("datatype",&dataname);
for ex: To get an integer 'a' from the user
scanf("%d",&a);
the given value by the user is saved in the data 'a'.

Answer Question

Anonymous