I was able to compile this without changes using VS2013... what are you using?
kumanutiw commented: thax its now working ...... +0
adnan121 commented: struct Science { double exam[size]; }; struct Engineering { double quizzes[size]; }; union S_Eng_sci { Science S_exam; Engineering S_quizzes; } +0
Panathinaikos22 commented: he is noob +0