Beispiel #1
0
int main () {
	Student stud(101, 78.5);
	Student * p = &stud;
	p->display();
	p->change(101, 80.5);
	p->display();

	return 0;
}
Beispiel #2
0
void fun(Student &s){
	s.display();
	s.change(120,98.5);
	s.display();
};