Question 1: Pointer Basics
What does a pointer variable store in C?
Question 2: Declaring a Pointer
Which of the following correctly declares a pointer to an integer?
Question 3: Pointer Dereferencing
What will be the output of this program?
Question 4: Pointer Assignment
What will be printed?
Question 5: NULL Pointer
What does a NULL pointer represent in C?
Question 6: Pointer and Array
What will be the output?
Question 7: Pointer Arithmetic
If p is an integer pointer pointing to address 1000, what will p+1 point to (assuming 4-byte int)?
Question 8: Double Pointer
What will be the output?
Question 9: Dangling Pointer
When does a dangling pointer occur in C?
Question 10: Function Pointers
Which is the correct syntax to declare a pointer to a function that takes int as argument and returns int?