Discussion :: Functions - C++
-
What will be the output of the following program?
#include struct MyData { public: int Addition(int a, int b = 10) { return (a *= b + 2); } float Addition(int a, float b); }; int main() { MyData data; cout1)" "; cout3, 4); return 0; }
Answer : Option B
Explanation :
No answer description available for this question.
Be The First To Comment

Whatsapp
Facebook