You are on page 1of 1

1- Class type varaible Student ob; 2- Class Type Pointer Student *p; 3- Class Type Array Student a1,a2,a3,a4,a5........

a10; a1.getName(); { Student a[10]; for (int i=0;i<10;i++){ char n[20]; gets(n); a[i].setName(n); } }

You might also like