Quiz Memory & Structs

Manage memory by hand and build your own data types in C: malloc and free, the classic memory bugs, structs, unions, enums and bit tricks.

Intermédiaire 5 quiz · 50 questions environ 31 minutes
0/5réussis Examen de catégorie 20 questions variées. 80 % pour obtenir un certificat.
Tags:
1 malloc, calloc & free Moyen Allocate, resize and release heap memory in C without losing track of it. #memory#heap 10 questions · ~6 min Pas commencé Commencer
2 Memory Bugs Difficile Spot leaks, double frees, use after free and other heap bugs in short C programs. #memory#debugging 10 questions · ~8 min Pas commencé Commencer
3 Structs & typedef Facile Group related data with structs, initialise them and give them short names with typedef. #structs#typedef 10 questions · ~5 min Pas commencé Commencer
4 Unions & Enums Moyen Name your constants with enums and share storage between members with unions. #unions#enums 10 questions · ~6 min Pas commencé Commencer
5 Bitwise Operators Moyen Set, clear, toggle and test bits with &, |, ^, ~ and the shift operators. #bitwise#output-prediction 10 questions · ~6 min Pas commencé Commencer