-
What will be the output of the following C code according to C99 standard?
#include <stdio.h>
struct S
{
int i;
char ch;
float flt;
};
int main()
{
struct S R = {.ch = 45, .i = 11, 31};
printf("%f \n", R.flt);
}
-
- 31.000000
- Compilation Error
- Garbage value
- Undefined behabiour
- 0.000000
Correct Option: E
0.000000