Memory & Structs-Quizze

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.

Fortgeschritten 5 Quizze · 50 Fragen etwa 31 Minuten
0/5bestanden Kategorieprüfung 20 gemischte Fragen. Mit 80% gibt es ein Zertifikat.
Tags:
1 malloc, calloc & free Mittel Allocate, resize and release heap memory in C without losing track of it. #memory#heap 10 Fragen · ~6 Min. Nicht begonnen Starten
2 Memory Bugs Schwer Spot leaks, double frees, use after free and other heap bugs in short C programs. #memory#debugging 10 Fragen · ~8 Min. Nicht begonnen Starten
3 Structs & typedef Leicht Group related data with structs, initialise them and give them short names with typedef. #structs#typedef 10 Fragen · ~5 Min. Nicht begonnen Starten
4 Unions & Enums Mittel Name your constants with enums and share storage between members with unions. #unions#enums 10 Fragen · ~6 Min. Nicht begonnen Starten
5 Bitwise Operators Mittel Set, clear, toggle and test bits with &, |, ^, ~ and the shift operators. #bitwise#output-prediction 10 Fragen · ~6 Min. Nicht begonnen Starten