If a function prototype using a call by reference using pointers is
int CalcInfo(float * p1, float * p2);
how would you write the same prototype using a
call by reference using reference parameters?

A. int CalcInfo(float p1, float p2);
B. int CalcInfo(float r1, float r2);
C. int CalcInfo(&*p1, &*p2);
D. int CalcInfo(float &r1, float &r2);


D

Computer Science & Information Technology

You might also like to view...

Start screen tiles represent applications, storage areas, and links to social media sites.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

By using a ________, you can create a form that displays records from two related tables

A) linked form B) subordinate form C) subform D) mini-form

Computer Science & Information Technology

To close the current window, use document.close().

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In any number, the leftmost digit is referred to as the __________ digit because it carries the highest value.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology