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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!