- 2
what will n
#include <iostream> using namespace std; int main() { ______ Student{ public: void printAge()____; }; return 0; }
8 Answers
0
please put description , what you want from the code?
0
if i want God then
0
class student {
public:
void printAge () const;
};
0
I am was confuse before get its answer
I try to ask public if i am not lul
- 1
#include <iostream>
using namespace std;
int main() {
struct Student{
public:
void printAge(){ };
};
return 0;
}
- 1
#include <iostream>
int main()
{ std::cout << "God"; }
- 1
It's really hard to understand what you want. Please write a long description.
- 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?