Quiz on Pointers

Check your understanding of pointers by completing this quiz.

We'll cover the following...
Technical 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 ;

1 / 5