![]() |
VOOZH | about |
Question 1
In the following program snippet, both s1 and s2 would be variables of structure type defined as below and there won't be any compilation issue.
Both s1 and s2 are valid variables of the same structure type, and the code compiles without any error
s1 is valid, but s2 causes a compilation error because the struct tag name and typedef name cannot be the same.
s2 is valid, but s1 causes a compilation error because Student can only be used with the struct keyword
The code compiles, but s1 and s2 are of different types because typedef creates a new unrelated type.
Question 2
Question 3
Question 4
Question 5
There are 5 questions to complete.