+1 vote
157 views
in C program by (3.4k points)
edited

What is the return type of scanf() function, and what it returns ?

1 Answer

0 votes
by (3.4k points)
selected by
 
Best answer
scanf() is a library function, the prototype of scanf() is availabe in <stdio.h>, It returns a integer value, that describe successful input from console in variable.

Related questions

+1 vote
1 answer 177 views
0 votes
1 answer 224 views
0 votes
1 answer 85 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...