Question: PREDICT THE OUTPUT C++ void swapThem (double numl, double num2) { double temp = numl; num1 = num2; num2 = temp; } void change them

PREDICT THE OUTPUT
C++
void swapThem (double numl, double num2) { double temp = numl; num1 = num2; num2 = temp; } void change them (double& numl, double& num2) { double temp = numl; num1 num2; num2 = temp; } double a = 4.0, b = 5.0, c = 6.0, d = 7.0; swapThem (a, b); change Them (c, d); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
