What is the predefined function in C programming?

Updated By: Chirine K | 29 May 2019


Akhil Kumar

04 September 2019

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

Legal Policy


© 2022 GDATAMART.COM (All Rights Reserved)