-
What will be the output of the following C code according to C99 standard?
#include <stdio.h>
struct stru
{
int i;
char ch;
float flt;
};
int main()
{
struct stru Res = {.ch = 333};
printf("%f\n", Res.flt);
}
-
- 333.000000
- Compilation Error
- Garbage value
- 0.000000
- None of these
Correct Option: D
0.000000