In programming, a function is a segment that groups code to perform a specific task.
A C program has at least one function
Visit this page to learn more about library functions in C programming language
A C program has at least one function
main( ). Without main() function, there is technically no C program.Types of C functions
There are two types of functions in C programming:- Library function
- User defined function
Library function
Library functions are the in-built function in C programming system. For example:main()- The execution of every C program starts from this
main() function.printf()-
prinf() is used for displaying output in C.scanf()-
scanf() is used for taking input in C.Visit this page to learn more about library functions in C programming language
0 comments:
Post a Comment