Quizzes de 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.

Intermediário 5 quizzes · 50 perguntas cerca de 33 minutos
0/5aprovado Prova da categoria 20 perguntas variadas. Com 80% você ganha um certificado.
Tags:
1 Pointer Basics Fácil Take addresses with &, follow them with * and change variables through pointers. #pointers#basics 10 perguntas · ~5 min Não iniciado Começar
2 Pointer Arithmetic Médio Move pointers through arrays with +, -, ++ and subtraction, and read *p++ correctly. #pointers#pointer-arithmetic 10 perguntas · ~6 min Não iniciado Começar
3 Pointers & Arrays Médio See how array names turn into pointers, where they do not, and why a[i] equals *(a + i). #pointers#arrays 10 perguntas · ~6 min Não iniciado Começar
4 Pointer to Pointer Difícil Use int ** to change a caller's pointer, build dynamic tables and walk arrays of strings. #pointers#double-pointers 10 perguntas · ~8 min Não iniciado Começar
5 Function Pointers Difícil Store functions in variables and arrays, pass them as callbacks and read their declarations. #pointers#functions 10 perguntas · ~8 min Não iniciado Começar