+ 1
what is wrong in my prog;
the flault is in the end in ob.insert() and ob.print() https://code.sololearn.com/cWn34G6Wd0eb/?ref=app thanx 😊
1 Antwort
+ 2
The first error I can see is that you have incorrectly declared the object.
Declaring Student ob(); actually creates a function prototype that takes no arguments and returns an object of type Student.
So just remove the parenthesis.