Q. Which is the correct syntax to declare a pointer to an int?
β
Correct Answer: (B)
int *ptr;
Explanation: int *ptr declares a pointer to an integer.