Examveda

What will be the output of the following C code?
#include <stdio.h>
double i;
int main()
{
   printf("%g\n",i);
   return 0;
}

A. 0

B. 0.000000

C. Garbage value

D. Depends on the compiler

Answer: Option A


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function