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

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?

Pope Sylvester II tried to introduce Arabic numbers into Europe between the years 999 and 1003, but their use did not catch on for a few more centuries, and Roman numerals continued to be the primary number system.

Did you know?

Urine turns bright yellow if larger than normal amounts of certain substances are consumed; one of these substances is asparagus.

Did you know?

Many people have small pouches in their colons that bulge outward through weak spots. Each pouch is called a diverticulum. About 10% of Americans older than age 40 years have diverticulosis, which, when the pouches become infected or inflamed, is called diverticulitis. The main cause of diverticular disease is a low-fiber diet.

Did you know?

Studies show that systolic blood pressure can be significantly lowered by taking statins. In fact, the higher the patient's baseline blood pressure, the greater the effect of statins on his or her blood pressure.

For a complete list of videos, visit our video library