+ 4
Using classes without objects
i am confused in this question which i have discussed in the comments of my code https://code.sololearn.com/c3Mb52RdAeW8/?ref=app link of the question (question no. 8 in level 1) https://www.codesdope.com/practice/cpp-classes-and-objects/ plz help me in this question i am a beginner in Oops so plz explain it in an easier way thank u!!!
4 Respostas
+ 3
Donna but we are not supposed to create any object of the class
btw thnx for ur help
+ 3
Donna i have added the link of the question
+ 2
Question 8 is referring to a static class.
[edit] static member not a static class.
+ 2
Donna wow!!! excellent!!!
just one more question what is the use of variable n?