Question: cilass Student { public: void set _ SID ( int x ; void print _ SID ( ) ; private: int SID; } ; 3
cilass Student
public:
void setSIDint ;
void printSID;
private:
int SID;
;
a Which one correctly define a function for the Student class?
A void Student::setSIDSID x
B int Student::setSIDint Student SID
C int setSIDSIDx
D void Student::setSIDint xSID x
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
