Correct option is D
The
sqrt() function is not a part of <stdio.h>; it is defined in the <math.h> library. Functions like printf(), scanf(), fopen(), and fprintf() are part of <stdio.h> and are used for standard input/output operations, such as printing to the console or file handling.
Important Key Points:
1.
printf() and scanf()
· Defined in <stdio.h>.
· Used for formatted output and input, respectively.
2.
fopen() and fprintf()
· File handling functions in <stdio.h>.
· fopen() opens files, and fprintf() writes formatted data to a file.
3.
sqrt()
· Defined in <math.h>.
· Used to calculate the square root of a number.
Knowledge Booster:
·
Other Functions in <stdio.h>:
· getchar(), putchar(), fscanf(), and fclose().
·
File Handling:
· Functions like fwrite() and fread() are used for binary file operations in <stdio.h>.
·
Library Specificity:
· <math.h> includes other mathematical functions like pow(), ceil(), and floor().