What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
void main()
{
int k = fabs(-87);
printf("%d\n", k);
}
#include <stdio.h>
#include <math.h>
void main()
{
int k = fabs(-87);
printf("%d\n", k);
}
A. -87
B. 87
C. 78
D. error
Answer: Option B
Join The Discussion