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

The liver is the only organ that has the ability to regenerate itself after certain types of damage. As much as 25% of the liver can be removed, and it will still regenerate back to its original shape and size. However, the liver cannot regenerate after severe damage caused by alcohol.

Did you know?

GI conditions that will keep you out of the U.S. armed services include ulcers, varices, fistulas, esophagitis, gastritis, congenital abnormalities, inflammatory bowel disease, enteritis, colitis, proctitis, duodenal diverticula, malabsorption syndromes, hepatitis, cirrhosis, cysts, abscesses, pancreatitis, polyps, certain hemorrhoids, splenomegaly, hernias, recent abdominal surgery, GI bypass or stomach stapling, and artificial GI openings.

Did you know?

The Romans did not use numerals to indicate fractions but instead used words to indicate parts of a whole.

Did you know?

Less than one of every three adults with high LDL cholesterol has the condition under control. Only 48.1% with the condition are being treated for it.

Did you know?

In 1864, the first barbiturate (barbituric acid) was synthesized.

For a complete list of videos, visit our video library