Q. What is the correct syntax to declare pointer to pointer i.e., double pointer?
β
Correct Answer: (A)
type **pointer_name;
Explanation: The correct syntax syntax to declare pointer to pointer i.e., double pointer is:
type **pointer_name;
Example:
int **ptr; //declaration double pointer
type **pointer_name;
Example:
int **ptr; //declaration double pointer