Multiple Choice
Given that p1 is an integer pointer variable, and a1 is an integer array, which of the following statements are not legal code?
A) p1= a1;
B) cout << p1[0];
C) cin >> p1[0];
D) a1 = p1;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q27: You can assign an array to a
Q28: A pointer can be stored in an
Q29: If p1 and p2 are both pointers
Q30: In the statement cout << *p1;, the
Q31: Given that p1 is a pointer, p1++<br>A)
Q33: The & operator is called the _
Q34: What is wrong with the following code
Q35: What is the output of the following
Q36: int *p1; declares a static variable.
Q37: Dynamic variables are created from the _.