is it the question a) correct ?
answer>
Code:
class Employee{
int emp.no;
char emp_name[20];
char gender;
string DOB;
char type[3];
public:
employee9int emp.no, char emp_name,
char gender, string DOB,
char type){
emp_no=emp_no;
emp_name=emp_name;
gender = gender;
DOB = DOB;
type = type;
}
employee(int no, char name, char, char gen,
stirng birth,char type){
emp.no=no;
emp_name=name;
gender=gen;
DOB=birth;
type=type;
}
1)void setNo(int no){
emp_no=no;
}
2)void setName(char name){
emp_name = name;
}
1)int getNo(void){
return emp_no;
}
int row,col;
for(row=0; row<4; row++){
for(col=0;col<=row;col++){
cout<<"*";
}
cout<<"\n";
}
int dimension[5][6];
char
and the b) is it same with the a) ??
wht is that PtrArr ??