Author Question: Which of the following statements is NOT valid C++ code? (Read 17 times)

serike

  • Hero Member
  • *****
  • Posts: 542
Which of the following statements is NOT valid C++ code?
float num1 = &ptr2;


Shshxj

  • Sr. Member
  • ****
  • Posts: 335
the value stored in the variable whose address is contained in ptr



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question

serike

  • Hero Member
  • *****
  • Posts: 542
Excellent



Shshxj

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



 

Did you know?

Autoimmune diseases occur when the immune system destroys its own healthy tissues. When this occurs, white blood cells cannot distinguish between pathogens and normal cells.

Did you know?

The largest baby ever born weighed more than 23 pounds but died just 11 hours after his birth in 1879. The largest surviving baby was born in October 2009 in Sumatra, Indonesia, and weighed an astounding 19.2 pounds at birth.

Did you know?

The average office desk has 400 times more bacteria on it than a toilet.

Did you know?

In 1886, William Bates reported on the discovery of a substance produced by the adrenal gland that turned out to be epinephrine (adrenaline). In 1904, this drug was first artificially synthesized by Friedrich Stolz.

Did you know?

Astigmatism is the most common vision problem. It may accompany nearsightedness or farsightedness. It is usually caused by an irregularly shaped cornea, but sometimes it is the result of an irregularly shaped lens. Either type can be corrected by eyeglasses, contact lenses, or refractive surgery.

For a complete list of videos, visit our video library