Multiple Choice
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.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: It is possible for a structure to
Q29: Assuming that arr is an array identifier,
Q30: When the less than ( < )
Q31: The _ and _ operators can respectively
Q32: The statement Rectangle * boxPtr; defines a
Q33: When the _ is placed in front
Q35: The _, also known as the address
Q36: The statement cout << &num1; will output<br>A)
Q37: If a variable occupies more than one
Q38: Dynamic memory allocation occurs<br>A) when a variable