+ 1
How can I create array of object in c++ assuming I have a class students which each of my object will instantiate from.
I want to create 10 student object to be store as an array
3 Antworten
+ 2
Student students[10];
0
can you expatiate please.
Do you mean I should create the Student class instance as an array variable ?
0
yes