Examveda

What will be the output of the following C code?
#include <stdio.h>
#include <math.h>
int main()
{
    unsigned int i = -1;
    printf("%f\n", fabs(i));
    return 0;
}

A. Compile time error

B. 1

C. -1

D. None of the mentioned

Answer: Option D


This Question Belongs to C Program >> File Input Output

Join The Discussion

Related Questions on File Input Output