Q&A Discussions
How to publish our wedsite
0 Votes
1 Answercan anyone plz explain me this program step by step?#include <iostream>
using namespace std;
class MyClass {
public:
int var;
MyClass() { }
MyClass(int a)
: var(a) { }
MyClass operator+(MyClass &obj) {
MyClass res;
res.var= this->var+obj.var;
return res;
}
};
int main() {
MyClass obj1(12), obj2(55);
MyClass res = obj1+obj2;
cout << res.var;
}I am not getting the part inside operator+
0 Votes
8 AnswersGeometric forms
-2 Votes
2 Answershey I have a doubt in brute force prg by Mr robot .......so it's just checking each character and storing it in a string ....and he is giving it a name..so I have to ask that how I will setup or send a link to someone whom I wanna hack and whatever he types in my prg I will get it...plz plz help me...using Mr robot program
0 Votes
4 AnswersHot today
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
I’m new someone can help me
0 Votes
HTML community, HELP!!
0 Votes
What's doctype htMl
2 Votes
How this program executes?
0 Votes
I am a super beginner
0 Votes