Intemediate c working with unions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Intemediate c working with unions

I am doing the course but the second question Should be union, P I tried union, P Union,p It did not work. What am I doing wrong?

28th Mar 2023, 8:52 PM
Kim Hammar-Milliner
Kim Hammar-Milliner - avatar
2 Answers
+ 2
Kim Hammar-Milliner maybe capitalization is the issue. The union keyword is all lowercase. Note that the p variable is declared in lowercase as well. In general, quiz answers should be entered in all lowercase. That has held true for all the quizzes I have taken.
29th Mar 2023, 1:18 AM
Brian
Brian - avatar
+ 1
Thanks. I solved it finally.
29th Mar 2023, 1:31 AM
Kim Hammar-Milliner
Kim Hammar-Milliner - avatar