Fill in the blanks to declare a pointer to the ''st'', where ''st'' is of type ''Student'', then call printAge() via the pointer | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 12

Fill in the blanks to declare a pointer to the ''st'', where ''st'' is of type ''Student'', then call printAge() via the pointer

1st Mar 2017, 7:18 AM
Sunita Sharma
12 Respuestas
+ 7
Student * st = new Student(); st->printAge();
1st Mar 2017, 7:25 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 6
Student st; Student *stPtr =&st; stPtr->printAge();
16th Mar 2017, 7:11 PM
Notan Mondal
+ 2
Fill in the blanks to declare an array of void pointers to x1, x2 and x3 and print them using the pointers. Ans??
4th Jun 2021, 8:12 AM
Siddharth Donga
Siddharth Donga - avatar
0
where I have to fill? :p check comment section of that page, you will get your answer.
1st Mar 2017, 7:25 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
Fill in the blanks to declare two variables a and b; and two pointers pa and pb that point to a and b, respectively. Print to the screen the value of the division of a and b variables accessed via pointers pa and pb.
22nd Apr 2020, 1:54 PM
Tanmoy Saha
0
darg and drop from the options below to define the printinfo() function, which prints "people's" name and birthdate, using date of birth print date() function. Void people::_(){ Cout<<name<<endl; _._(); } ANSWER: - printlnfo dateofBirth printdata
23rd May 2020, 7:29 PM
Shailesh Kumar meena
Shailesh Kumar meena - avatar
0
thanks thanks thanks all so much
4th Jun 2020, 3:55 AM
Waled Moumari
Waled Moumari - avatar
0
Student st; Student * stPtr = & st; stPtr -> printAge();
3rd Sep 2021, 2:20 PM
Don Tharindu Prashan
Don Tharindu Prashan - avatar
- 1
Student st; st-> printAge (); this is what you are looking for, I guess.
1st Mar 2017, 7:27 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
- 1
Student st; Student *stPtr = &st; stPtr->printAge();
19th Mar 2018, 10:12 AM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
- 1
Answer * & ->
23rd May 2020, 1:23 AM
Ubi Thomas
Ubi Thomas - avatar
- 1
fill in the blanks to declare a pointer to the "st", where "st" is of type " student ", then call printage () via the pointer. Student st; Student _stptr=_st; Stptr_printAge(); * & ->
23rd May 2020, 7:05 PM
Shailesh Kumar meena
Shailesh Kumar meena - avatar