Which of the following statements is not valid C++ code?

A) int ptr = &num1;
B) int ptr = int *num1;
C) float num1 = &ptr2;
D) All of the above are valid.
E) All of the above are invalid.


E) All of the above are invalid.

Computer Science & Information Technology

You might also like to view...

Modify the method drawFace to take the width and height of the desired face and calculate the positions based on the desired width and height.

What will be an ideal response?

Computer Science & Information Technology

The Formula Bar in Excel 2016 displays the value or formula in the active cell

Indicate whether the statement is true or false

Computer Science & Information Technology

When creating a form or report, you can insert an image file containing the company logo

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is NOT a file system?

A) FAT12 B) FAT16 C) FAT32 D) FAT48

Computer Science & Information Technology