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 these are valid
E) All of these are invalid
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: A pointer can be used as a
Q3: When the less than operator (<) is
Q4: Use the delete operator only on pointers
Q5: What will the following statement output?<br>Cout <<
Q6: In C++11, the _ keyword was introduced
Q7: Assuming myValues is an array of int
Q8: Every byte in the computer's memory is
Q9: In the following statement, what does int
Q10: Select all that apply. Select as many
Q11: What will the following code output?<br>Int number