how would you write the same prototype using a call by reference using reference parameters?

If a function prototype using a call by reference using pointers is int CalcInfo(float * p1, float * p2);

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. int CalcInfo(float &r1, float &r2);

Computer Science & Information Technology

You might also like to view...

If a sound is added to a page with the embed element, which of the following attributes will make the sound start automatically when the page is loaded?

A) loop="false" B) loop="true" C) autostart="false" D) autostart="true"

Computer Science & Information Technology

If DES is used for password encryption, passwords are limited to eight characters

Indicate whether the statement is true or false.

Computer Science & Information Technology