What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
void main()
{
int k = pow(2, 3);
printf("%d\n", k);
}
#include <stdio.h>
#include <math.h>
void main()
{
int k = pow(2, 3);
printf("%d\n", k);
}A. 9
B. 8
C. -1
D. 6
Answer: Option B

Join The Discussion