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

IgA antibodies protect body surfaces exposed to outside foreign substances. IgG antibodies are found in all body fluids. IgM antibodies are the first type of antibody made in response to an infection. IgE antibody levels are often high in people with allergies. IgD antibodies are found in tissues lining the abdomen and chest.

Did you know?

Though newer “smart” infusion pumps are increasingly becoming more sophisticated, they cannot prevent all programming and administration errors. Health care professionals that use smart infusion pumps must still practice the rights of medication administration and have other professionals double-check all high-risk infusions.

Did you know?

Warfarin was developed as a consequence of the study of a strange bleeding disorder that suddenly occurred in cattle on the northern prairies of the United States in the early 1900s.

Did you know?

The first oral chemotherapy drug for colon cancer was approved by FDA in 2001.

Did you know?

A serious new warning has been established for pregnant women against taking ACE inhibitors during pregnancy. In the study, the risk of major birth defects in children whose mothers took ACE inhibitors during the first trimester was nearly three times higher than in children whose mothers didn't take ACE inhibitors. Physicians can prescribe alternative medications for pregnant women who have symptoms of high blood pressure.

For a complete list of videos, visit our video library