I am having doubt in one question in C quiz.
How is a structure variable named as test declared for a structure named as struct exforsys?
My answer was struct exforsys test; and system's answer was exforsys test;
in gcc (GCC) 3.4.3 20041212 (Red Hat 3.4.3-9.EL4) , if you do not used #typedef then u need to write struct before any structure.
Can anyone can clearify it.