Quiz di 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.

Intermedio 5 quiz · 50 domande circa 31 minuti
0/5superati Esame di categoria 20 domande miste. Con l'80% ottieni un certificato.
Tag:
1 malloc, calloc & free Medio Allocate, resize and release heap memory in C without losing track of it. #memory#heap 10 domande · ~6 min Da iniziare Inizia
2 Memory Bugs Difficile Spot leaks, double frees, use after free and other heap bugs in short C programs. #memory#debugging 10 domande · ~8 min Da iniziare Inizia
3 Structs & typedef Facile Group related data with structs, initialise them and give them short names with typedef. #structs#typedef 10 domande · ~5 min Da iniziare Inizia
4 Unions & Enums Medio Name your constants with enums and share storage between members with unions. #unions#enums 10 domande · ~6 min Da iniziare Inizia
5 Bitwise Operators Medio Set, clear, toggle and test bits with &, |, ^, ~ and the shift operators. #bitwise#output-prediction 10 domande · ~6 min Da iniziare Inizia