Question: According to class material, in C++, how do we display the address of a particular variable: double total_amount? (a) cout < < #total_amount; (b) cout
According to class material, in C++, how do we display the address of a particular variable: double total_amount?
(a) cout << #total_amount;
(b) cout << &total_amount;
(c) cout << total_amount& ;
(d) cout << total_amount ;
(e) None of (a) through (d) is the correct answer.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
