Pointers-Quizze

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.

Fortgeschritten 5 Quizze · 50 Fragen etwa 33 Minuten
0/5bestanden Kategorieprüfung 20 gemischte Fragen. Mit 80% gibt es ein Zertifikat.
Tags:
1 Pointer Basics Leicht Take addresses with &, follow them with * and change variables through pointers. #pointers#basics 10 Fragen · ~5 Min. Nicht begonnen Starten
2 Pointer Arithmetic Mittel Move pointers through arrays with +, -, ++ and subtraction, and read *p++ correctly. #pointers#pointer-arithmetic 10 Fragen · ~6 Min. Nicht begonnen Starten
3 Pointers & Arrays Mittel See how array names turn into pointers, where they do not, and why a[i] equals *(a + i). #pointers#arrays 10 Fragen · ~6 Min. Nicht begonnen Starten
4 Pointer to Pointer Schwer Use int ** to change a caller's pointer, build dynamic tables and walk arrays of strings. #pointers#double-pointers 10 Fragen · ~8 Min. Nicht begonnen Starten
5 Function Pointers Schwer Store functions in variables and arrays, pass them as callbacks and read their declarations. #pointers#functions 10 Fragen · ~8 Min. Nicht begonnen Starten