what will n | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

what will n

#include <iostream> using namespace std; int main() { ______ Student{ public: void printAge()____; }; return 0; }

24th Dec 2017, 1:21 PM
Engineer Narendra saini
Engineer Narendra saini - avatar
8 Answers
0
please put description , what you want from the code?
25th Dec 2017, 2:58 PM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar
0
if i want God then
28th Dec 2017, 4:32 AM
Engineer Narendra saini
Engineer Narendra saini - avatar
0
class student { public: void printAge () const; };
28th Dec 2017, 9:13 AM
Engineer Narendra saini
Engineer Narendra saini - avatar
0
I am was confuse before get its answer I try to ask public if i am not lul
28th Dec 2017, 9:19 AM
Engineer Narendra saini
Engineer Narendra saini - avatar
- 1
#include <iostream> using namespace std; int main() { struct Student{ public: void printAge(){ }; }; return 0; }
24th Dec 2017, 4:59 PM
Timon Paßlick
- 1
#include <iostream> int main() { std::cout << "God"; }
28th Dec 2017, 9:03 AM
Timon Paßlick
- 1
It's really hard to understand what you want. Please write a long description.
28th Dec 2017, 9:05 AM
Timon Paßlick
- 1
How should I know that? You didn't say if it should be an empty body or const. And why are you asking if you can answer your own question?
28th Dec 2017, 9:18 AM
Timon Paßlick