
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

class stu { char nam[5][100]; public: char* get_comp(int a) { switch(a) { case 1: return nam[0];break; case 2: return nam[1];break; case 3: return nam[2];break; case 4: return nam[3];break; case 5: return nam[4];break; } } };