Author Question: Which of the following statements is NOT valid C++ code? (Read 12 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?

Giardia is one of the most common intestinal parasites worldwide, and infects up to 20% of the world population, mostly in poorer countries with inadequate sanitation. Infections are most common in children, though chronic Giardia is more common in adults.

Did you know?

Though the United States has largely rejected the metric system, it is used for currency, as in 100 pennies = 1 dollar. Previously, the British currency system was used, with measurements such as 12 pence to the shilling, and 20 shillings to the pound.

Did you know?

Today, nearly 8 out of 10 pregnant women living with HIV (about 1.1 million), receive antiretrovirals.

Did you know?

During pregnancy, a woman is more likely to experience bleeding gums and nosebleeds caused by hormonal changes that increase blood flow to the mouth and nose.

Did you know?

According to animal studies, the typical American diet is damaging to the liver and may result in allergies, low energy, digestive problems, and a lack of ability to detoxify harmful substances.

For a complete list of videos, visit our video library