1.

What will be the output of the following C code?

 #include  typedef struct p { int x, y; }k = {1, 2}; int main() { p k1 = k; printf("%d n", k1.x); }

A. Compile time error
B. 1
C. Depends on the standard
Answer» B. 1


Discussion

No Comment Found

Related MCQs