The answer is visual hierarchy :)
Answer:
Statement to get input values:-
cin>>birthMonth>>birthYear;
Statement for output:-
cout<<birthMonth<<"/"<<birthYear<<endl;
Explanation:
The statements are in C++ language.
To get the input we use cin in C++ with >>.
We are taking the input of birthMonth and birthYear.
For printing we use cout .We have printed birthMonth then slash and then birthYear.
D that is the answer but I need 20 words to send this text
Answer: It doesn't look like you included the video if you could i would love to help!
Answer:
a. x = 5
b. x = 7
Explanation:
a)
OUTPUT: x = 5
In the main() function, fun1() is evaluated first and it updates the value of the global variable to 2 and returns 3.
The second function returns the value of the global variable 'a' and this variable has value 2.
So,
x = 3 + 2
x = 5
b)
OUTPUT: x = 7
In the main() function, fun2() is evaluated first and it returns 4 because global variable 'a' is initialized with value 4.
The second function fun()1 will returns the value 3.
So,
x = 4 + 3
x = 7