What is printf() and scanf() :- function , array or what else??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is printf() and scanf() :- function , array or what else???

27th Jul 2017, 5:16 AM
Himanshu Sharma
Himanshu Sharma - avatar
3 Answers
+ 11
printf() and scanf() functions are inbuilt library functions in C programming language which are available in C library by default. These functions are declared and related macros are defined in “stdio.h” which is a header file in C language. In which: 1.printf is used for output 2.scanf is used for reading inputs
27th Jul 2017, 5:20 AM
P R
P R - avatar
+ 7
Functions, because they have parameters bound by parenthesis which take arguments.
27th Jul 2017, 5:25 AM
Hatsy Rei
Hatsy Rei - avatar
0
but it doesn't return any value and does not have any return type
27th Jul 2017, 8:38 AM
Himanshu Sharma
Himanshu Sharma - avatar