1.

What is the output of this C code?#include struct p { int k; char c; float f; }; int p = 10; int main() { struct p x = {1, 97}; printf("%f %d\n", x.f, p); }

A. Compile time error
B. 0.000000 10
C. Somegarbage value 10
D. 0 10
Answer» C. Somegarbage value 10


Discussion

No Comment Found