What is the predefined function in C programming?

Query By: CHIRINE K

A

Akhil Kumar

Predefined function belongs to standard library functions in C programming language. Some predefined functions listed below, I'm sure these functions you definitely used in C programming like:

printf(); scanf(); puts(); gets();

Example of C Program

#include <stdio.h>

int main() // main function of this program//

{

     printf("Hello, This is predefind function program example");

}

printf() is not used without including the stdio.h header file, the program gives error, so add #include <stdio.h> in header of program.

0 votes

Your Answer

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)