Arrays & Strings-Quizze

Fixed-size arrays, C strings and the null terminator, the string.h functions and 2D arrays, plus the bounds mistakes that turn into buffer overflows.

Einsteiger 5 Quizze · 50 Fragen etwa 31 Minuten
0/5bestanden Kategorieprüfung 20 gemischte Fragen. Mit 80% gibt es ein Zertifikat.
Tags:
1 Arrays Leicht Declare, initialize, loop over and pass C arrays without surprises. #arrays#basics 10 Fragen · ~5 Min. Nicht begonnen Starten
2 Strings & the Null Terminator Mittel See how C stores text as char arrays ending in '\0', and what that means for size and printing. #strings#null-terminator 10 Fragen · ~6 Min. Nicht begonnen Starten
3 string.h Functions Mittel Use strlen, strcpy, strcat, strcmp, strchr and friends correctly, and know their traps. #strings#string-h 10 Fragen · ~6 Min. Nicht begonnen Starten
4 2D Arrays Mittel Index, initialize, size and pass two-dimensional arrays in C. #arrays#2d-arrays 10 Fragen · ~6 Min. Nicht begonnen Starten
5 Buffer Overflows & Bounds Schwer Spot out-of-bounds reads and writes in C, and the habits and tools that prevent them. #security#arrays 10 Fragen · ~8 Min. Nicht begonnen Starten