Home »
MCQs »
C++ MCQs
Which of the following is the correct option?
140. Which of the following is the correct option?
int* a, b;
- a is a pointer to an integer and b is an integer variable
- b is a pointer to an integer and a is an integer variable
- both a and b are pointers.
Answer: A) a is a pointer to an integer and b is an integer variable
Explanation:
In the above-given statement, a is a pointer to an integer and b is an integer variable.