0

How to make an array of the class?

25th Aug 2016, 2:16 PM
Luciano Bispo
Luciano Bispo - avatar
2 odpowiedzi
+ 1
While Declaring The Object , Use The Syntax : classname objectname[size];
25th Aug 2016, 4:33 PM
Shashank Pai
Shashank Pai - avatar
0
class array { private: int arr1 int arr2 public: constructors and functions } int main() { //to put the array array arr1[size] }
1st Sep 2016, 7:20 AM
Abdelrhman Elsaid
Abdelrhman Elsaid - avatar