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

Eating carrots will improve your eyesight. Carrots are high in vitamin A (retinol), which is essential for good vision. It can also be found in milk, cheese, egg yolks, and liver.

Did you know?

Amphetamine poisoning can cause intravascular coagulation, circulatory collapse, rhabdomyolysis, ischemic colitis, acute psychosis, hyperthermia, respiratory distress syndrome, and pericarditis.

Did you know?

There are actually 60 minerals, 16 vitamins, 12 essential amino acids, and three essential fatty acids that your body needs every day.

Did you know?

Aspirin is the most widely used drug in the world. It has even been recognized as such by the Guinness Book of World Records.

Did you know?

Immunoglobulin injections may give short-term protection against, or reduce severity of certain diseases. They help people who have an inherited problem making their own antibodies, or those who are having certain types of cancer treatments.

For a complete list of videos, visit our video library