Author Question: What will the following statement output?cout (Read 33 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?

To prove that stomach ulcers were caused by bacteria and not by stress, a researcher consumed an entire laboratory beaker full of bacterial culture. After this, he did indeed develop stomach ulcers, and won the Nobel Prize for his discovery.

Did you know?

Women are two-thirds more likely than men to develop irritable bowel syndrome. This may be attributable to hormonal changes related to their menstrual cycles.

Did you know?

The B-complex vitamins and vitamin C are not stored in the body and must be replaced each day.

Did you know?

The top five reasons that children stay home from school are as follows: colds, stomach flu (gastroenteritis), ear infection (otitis media), pink eye (conjunctivitis), and sore throat.

Did you know?

The liver is the only organ that has the ability to regenerate itself after certain types of damage. As much as 25% of the liver can be removed, and it will still regenerate back to its original shape and size. However, the liver cannot regenerate after severe damage caused by alcohol.

For a complete list of videos, visit our video library