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

In 1844, Charles Goodyear obtained the first patent for a rubber condom.

Did you know?

Illness; diuretics; laxative abuse; hot weather; exercise; sweating; caffeine; alcoholic beverages; starvation diets; inadequate carbohydrate consumption; and diets high in protein, salt, or fiber can cause people to become dehydrated.

Did you know?

Acute bronchitis is an inflammation of the breathing tubes (bronchi), which causes increased mucus production and other changes. It is usually caused by bacteria or viruses, can be serious in people who have pulmonary or cardiac diseases, and can lead to pneumonia.

Did you know?

The Centers for Disease Control and Prevention has released reports detailing the deaths of infants (younger than 1 year of age) who died after being given cold and cough medications. This underscores the importance of educating parents that children younger than 2 years of age should never be given over-the-counter cold and cough medications without consulting their physicians.

Did you know?

After 5 years of being diagnosed with rheumatoid arthritis, one every three patients will no longer be able to work.

For a complete list of videos, visit our video library