Quiz di Arrays & Strings

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.

Principiante 5 quiz · 50 domande circa 31 minuti
0/5superati Esame di categoria 20 domande miste. Con l'80% ottieni un certificato.
Tag:
1 Arrays Facile Declare, initialize, loop over and pass C arrays without surprises. #arrays#basics 10 domande · ~5 min Da iniziare Inizia
2 Strings & the Null Terminator Medio See how C stores text as char arrays ending in '\0', and what that means for size and printing. #strings#null-terminator 10 domande · ~6 min Da iniziare Inizia
3 string.h Functions Medio Use strlen, strcpy, strcat, strcmp, strchr and friends correctly, and know their traps. #strings#string-h 10 domande · ~6 min Da iniziare Inizia
4 2D Arrays Medio Index, initialize, size and pass two-dimensional arrays in C. #arrays#2d-arrays 10 domande · ~6 min Da iniziare Inizia
5 Buffer Overflows & Bounds Difficile Spot out-of-bounds reads and writes in C, and the habits and tools that prevent them. #security#arrays 10 domande · ~8 min Da iniziare Inizia