Quiz Pointers

The part of C everyone has to get right: addresses and dereferencing, pointer arithmetic, how arrays turn into pointers, pointers to pointers and pointers to functions.

Intermédiaire 5 quiz · 50 questions environ 33 minutes
0/5réussis Examen de catégorie 20 questions variées. 80 % pour obtenir un certificat.
Tags:
1 Pointer Basics Facile Take addresses with &, follow them with * and change variables through pointers. #pointers#basics 10 questions · ~5 min Pas commencé Commencer
2 Pointer Arithmetic Moyen Move pointers through arrays with +, -, ++ and subtraction, and read *p++ correctly. #pointers#pointer-arithmetic 10 questions · ~6 min Pas commencé Commencer
3 Pointers & Arrays Moyen See how array names turn into pointers, where they do not, and why a[i] equals *(a + i). #pointers#arrays 10 questions · ~6 min Pas commencé Commencer
4 Pointer to Pointer Difficile Use int ** to change a caller's pointer, build dynamic tables and walk arrays of strings. #pointers#double-pointers 10 questions · ~8 min Pas commencé Commencer
5 Function Pointers Difficile Store functions in variables and arrays, pass them as callbacks and read their declarations. #pointers#functions 10 questions · ~8 min Pas commencé Commencer