Question discussion

Which of the following is not a C library function?

175110Medium 1 reply 924 views

Discussion 1

0
CCommunity
The C Library functions are inbuilt functions in C programming.

The prototype and data definitions of the functions are present in their respective header files and must be included in the program to access them.

Predefined functions:

Function

Header file

Description

printf()

stdio.h

sends formatted output to the standard output (screen).

scanf()

stdio.h

reads formatted input from standard input (keyboard)

gets()

stdio.h

Reads characters from the standard input (stdin) and stores them as a C string.

sqrt()

math.h

Returns the square root.

hello() is a user-defined function.