Quiz on Pointers
Check your understanding of pointers by completing this quiz.
1
Consider the following code snippet:
int a = 10 ;
b = &a ;
c = &b ;
Which is the correct way to declare b
and c
?
A)
int b, c ;
B)
int *b, *c ;
C)
int **b, **c ;
D)
int *b, **c ;
Question 1 of 50 attempted
Get hands-on with 1200+ tech skills courses.