void func(int x, int y, int z) { x = y+z; std::cout « x ” ” « y «””« z « “n” int main() { int w,x; w = 1; x = 2; func(w,x,x*x); std::cout << w «< ” ” << x << “n”; What is the output from the above program? Show transcribed image text void func(int x, int y, int z) { x = y+z; std::cout « x ” ” « y «””« z « “n” int main() { int w,x; w = 1; x = 2; func(w,x,x*x); std::cout
Expert Answer
Answer to void func(int x, int y, int z) { x = y+z; std::cout « x ” ” « y «””« z « “n” int main() { int w,x; w = 1; x = 2; f…