Author Question: What will the following statement output?cout (Read 24 times)

ahriuashd

  • Hero Member
  • *****
  • Posts: 535
What will the following statement output?
cout << &num1;
◦ the value stored in the variable named num1
◦ the string &num1
◦ the memory address of the variable named num1
◦ the number 1
◦ None of these


hugthug12

  • Sr. Member
  • ****
  • Posts: 329
the memory address of the variable named num1



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question

ahriuashd

  • Hero Member
  • *****
  • Posts: 535
Excellent



hugthug12

  • Sr. Member
  • ****
  • Posts: 329
Great! Please up vote :D



 

Did you know?

Coca-Cola originally used coca leaves and caffeine from the African kola nut. It was advertised as a therapeutic agent and "pickerupper." Eventually, its formulation was changed, and the coca leaves were removed because of the effects of regulation on cocaine-related products.

Did you know?

Cucumber slices relieve headaches by tightening blood vessels, reducing blood flow to the area, and relieving pressure.

Did you know?

It is widely believed that giving a daily oral dose of aspirin to heart attack patients improves their chances of survival because the aspirin blocks the formation of new blood clots.

Did you know?

People with alcoholism are at a much greater risk of malnutrition than are other people and usually exhibit low levels of most vitamins (especially folic acid). This is because alcohol often takes the place of 50% of their daily intake of calories, with little nutritional value contained in it.

Did you know?

Inotropic therapy does not have a role in the treatment of most heart failure patients. These drugs can make patients feel and function better but usually do not lengthen the predicted length of their lives.

For a complete list of videos, visit our video library