Computer Science, asked by TbiaSamishta, 1 year ago

Find out the errors if any #include using namespace std;class cl {int i; // private by defaultpublic:int get_i();void put_i( j);};int cl::get_i(){return i;}void cl::put_i(j){i = j;}int main(){cl s;s.put_i(10);cout << s.get_i()


mitu123456: what the hell is this? Write proper code

Answers

Answered by mitu123456
0

Give out proper code so if there is any error, it can be finded


Answered by Priyashasharma
0

Pls tell what is this??

Similar questions