Home / MCQ Bank / Computer
Computer Structure And Union Difficulty: Medium

What will be the output of the following C code? #include <stdio.h> struct temp { int a; } s; void change(struct temp); main() { s.a = 10; change(s); printf("%d\n", s.a); } void change(struct temp s) { s.a = 1; }

Select the correct option to test your answer:

More Computer Questions

What is the output of print("Hello, " + "world!")? In SQL, which command is used to SELECT only one copy of each set of duplicable rows Which of the following is an example to perform the most common XML manipulations using the XML objects invocation? What will be the output of the following MySQL statement? SELECT * FROM employee WHERE lname LIKE 'F%' AND lname LIKE '%T'; What is the prime task of the stable marriage problem?