+ 1

Why in this code we use semicolon after curly braces?? union Courses { char WebSite[50]; char Subject[50]; int Price; };

12th Apr 2020, 1:10 PM
Amirtha K
Amirtha K - avatar
2 Answers
+ 3
Due to the fact that you did not specify a relevant language in the thread tags, I will assume your thread topic here is related to C or C++. You haven't joined any course, so there's no telling. I suggest you to read this, this one is taken from C language tutorial. https://www.sololearn.com/learn/C/2944/?ref=app For future reference, use the thread tags appropriately, and follow this guide below on posting 👍 https://www.sololearn.com/Discuss/333866/?ref=app
12th Apr 2020, 1:24 PM
Ipang
+ 1
Just to terminate that variable name. And it is syntax predefined rules
12th Apr 2020, 1:21 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar