C++ PROGRAMMING, please help with these, thank you The program below has particu
ID: 3921362 • Letter: C
Question
C++ PROGRAMMING, please help with these, thank you
The program below has particular declarations and definitions in its functions: it uses the passing value by reference logic. See the ampersands (&'s) added to the variable type in each function. Without these &'s the program would simply display the times and y values at the court (try it if you doubt it). Even though these are void functions, there is an output because the values are actually passed from one function to the other. What is the output? Briefly explain your answer of what happened in functions f_1 and f_2. What is the output of the following code? Explain why do you obtain this result?Explanation / Answer
Question 9:
Since x and y are different and a < b while calling function f2 swap function will be called
and the output will be
-11 9
Question 10:
since v = 0x39 = 57 which is char '9'
hence starting from character 9 till 1 output will be
99
88
77
66
55
44
33
22
11
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.