+ 1
Struct can have classes inside of it
there is a question in c++ battle with the same header as my. True or false. False is checked as correct. But my code shows it's true or i misunderstood question? https://code.sololearn.com/cwS7v5fD1BOl/?ref=app
5 Réponses
0
Yes you can have classes inside structs as you showed in your code, maybe you misunderstood the question
0
The question:"Struct can have classes inside of it.". And two variants of answer: 1.true 2.false. How could it be false?
0
Report the question, there is a little button on the top right corner to report
0
i've done it at least 10 times.
0
Wait for them to review the reports and delete the question