Quiz Python : #pointers

6 quiz sur #pointers, avec une explication pour chaque réponse.

2 Passage par valeur et pointeurs Moyen Comprenez pourquoi les fonctions C reçoivent des copies, et comment les pointeurs leur permettent de modifier les variables de l'appelant. C · Fonctions et portée #functions#pointers 10 questions · ~6 min Pas commencé Commencer
1 Pointer Basics Facile Take addresses with &, follow them with * and change variables through pointers. C · 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. C · Pointers #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). C · Pointers #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. C · Pointers #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. C · Pointers #pointers#functions 10 questions · ~8 min Pas commencé Commencer

Autres tags :