int main() test10: test10); return 0; void test1 (0 static int x=23; int y = 8; X+=1; cout<

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 8RQ
icon
Related questions
icon
Concept explainers
Question
What is the output of the following code:
int main()
test1(0:
test1();
return 0;
void test1 ()
static int x=23;
int y = 8;
X+=13;
cout<<x<<" "<<y<<endl;
y++;
38
48
28
B
38
38
49
38
39
ও
Transcribed Image Text:What is the output of the following code: int main() test1(0: test1(); return 0; void test1 () static int x=23; int y = 8; X+=13; cout<<x<<" "<<y<<endl; y++; 38 48 28 B 38 38 49 38 39 ও
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,