Author Question: Assuming ptr is a pointer variable, what will the following statement output?cout (Read 24 times)

formula1

  • Hero Member
  • *****
  • Posts: 666
Assuming ptr is a pointer variable, what will the following statement output?
cout << *ptr;
◦ the address of the variable stored in ptr
◦ the value stored in the variable whose address is contained in ptr
◦ the address of the variable whose address is stored in ptr
◦ the string "*ptr"
◦ None of these


eliasc0401

  • Sr. Member
  • ****
  • Posts: 338
the value stored in the variable whose address is contained in ptr



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

All patients with hyperparathyroidism will develop osteoporosis. The parathyroid glands maintain blood calcium within the normal range. All patients with this disease will continue to lose calcium from their bones every day, and there is no way to prevent the development of osteoporosis as a result.

Did you know?

The Romans did not use numerals to indicate fractions but instead used words to indicate parts of a whole.

Did you know?

The FDA recognizes 118 routes of administration.

Did you know?

The average human gut is home to perhaps 500 to 1,000 different species of bacteria.

Did you know?

Human kidneys will clean about 1 million gallons of blood in an average lifetime.

For a complete list of videos, visit our video library