Login and Register ×
Check your Email for the OTP
C Programming Language MCQ Pointer in C Language
⚠ Report ✓ Question Verified Copy Link
int x = &y;
int *x = y;
int &x = y;
int *x = &y;
Explanation:
Answer: D
Explanation: The correct way to declare a pointer to an integer variable in C is to use the * operator in the declaration, and assign the address of the variable using the & operator.
*
&
Related Topic:
Share Above MCQ
Learn More MCQ Questions from C Programming Language MCQ Pointer in C Language