Which header file should be included in a C program to use the pow() function for calculating powers?

Which header file should be included in a C program to use the pow() function for calculating powers?
A . <math.h>
B . <stdio.h>
C . <time.h>
D . <stdlib.h>

Answer: A

Explanation:

The pow() function for calculating powers is included in the math.h header file in C.

Latest CLP-12-01 Practice Questions with 160 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments