how do i make getter and setter function for char array taken in the class??
for eg:- if the provided class is this…
class car{
char n[20];
int a;
};
how do i make getter and setter function for char array taken in the class??
for eg:- if the provided class is this…
class car{
char n[20];
int a;
};