Arrays & Strings Quizzes

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.

Beginner 5 quizzes · 50 questions about 31 minutes
0/5passed Category exam 20 mixed questions. 80% earns a certificate.
Tags:
1 Arrays Easy Declare, initialize, loop over and pass C arrays without surprises. #arrays#basics 10 questions · ~5 min Not started Start
2 Strings & the Null Terminator Medium See how C stores text as char arrays ending in '\0', and what that means for size and printing. #strings#null-terminator 10 questions · ~6 min Not started Start
3 string.h Functions Medium Use strlen, strcpy, strcat, strcmp, strchr and friends correctly, and know their traps. #strings#string-h 10 questions · ~6 min Not started Start
4 2D Arrays Medium Index, initialize, size and pass two-dimensional arrays in C. #arrays#2d-arrays 10 questions · ~6 min Not started Start
5 Buffer Overflows & Bounds Hard Spot out-of-bounds reads and writes in C, and the habits and tools that prevent them. #security#arrays 10 questions · ~8 min Not started Start