What will be the output of the following C code?
#include <stdio.h>
void main(
{
double b = 8;
b++;
printf("%lf", b);
}
#include <stdio.h>
void main(
{
double b = 8;
b++;
printf("%lf", b);
}
A. 9.000000
B. 9
C. 9.0
D. Run time error
Answer: Option A
Join The Discussion