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.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments