Computer Science, asked by ddhachu284, 2 months ago

Write the output of the following
Winclude<iostream>
using namespace std;
class student
1
int rno, marks;
public
student(int rint m)
cout<<"Constructor "<<endl;
rno r;
marks-m;
1
void printdet()
{
marks marks +30;
cout<<"Name: Bharathi"<<endl;
cout<<"Roll no:"<<rno<<"\n";
cout<<"Marks :"<<marks <<endl;
}
3:
int main()
1
student s(14,70);
s.printdet();
cout<< "Back to Main";
return 0;​

Answers

Answered by mddanish0929
0

Answer:

This question is irrelevent.

Similar questions