Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

02 03 L04 8) Assume that we have the following variable declarations 05 106 107

ID: 3701867 • Letter: 0

Question

02 03 L04 8) Assume that we have the following variable declarations 05 106 107 108 109 110 int a = 1; float b 2: string s . 112 What will be the types* of the tol 113 ng expressions: 114 115 Ga 116 ub 118 p 119 5s 120 (s.at (1)) 121 values.at (0) 122 & (values.at (0)) 123 Evalues 124 125 126 9) Write the tumction svap 127 and exchanges their values. ' hich takes twO int arguments *by reterence* 128 129 130 YOUR SOLUTION HERE 131 132 133 10) Write the following variable deciarations 134 135 136 137 138 139 140 141 a) ? pointer to a string. b) reference to a float, c) An array of pointers-to-ints, d) A pointer to a pointer tR be

Explanation / Answer

9)