Home / MCQ Bank / Computer
Computer Structure And Union

What will be the output of the following C code? #include <stdio.h> struct p { int k; char c; }; int p = 10; int main() { struct p x; x.k = 10; printf("%d %d\n", x.k, p); }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • 10 10

Related Computer Questions

What will be the output of the following Python code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for lst in values: for element in lst: if v > element: v = element print(v) Which of the following is not a navigator property? Multiple calculations can be made in a single formula using ________ It is a database object to view, change, and analyze data in different ways Unsolicited and unwanted junk email sent out in bulk to an indiscriminate recipient list is stored in ______ folder.