Question: Given a program as following: #include using namespace std; 1234 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Given a program as following: #include using namespace std; 1234 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 23456 16 Bint functionA() { Bint main() { 15, 25 In the main(), the values of x and y are 25, 40 static int a = 10; a += 15; return a; 10, 15 O 25, 25 int x, yi x = functionA(); y = functionA(); return 0;
Step by Step Solution
There are 3 Steps involved in it
The detailed answer for the above question is provided below include using namespace ... View full answer
Get step-by-step solutions from verified subject matter experts
