Question: 17. What would be the output of code below? class Math { public: }; static void Square (int &x); void Math::Square (int &x) {
17. What would be the output of code below? class Math { public: }; static void Square (int &x); void Math::Square (int &x) { } x = x*x; int main() { int i = 3; Math:: Square (i); cout < < i < < endl; return 0;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
