The starter has room for 32 characters including the terminator, and supplies the error/truncation guard and final puts. Replace only the placeholder assignment; the guard must stay before the print.
Before your edit, written is -1, so the guard returns status 1 without printing the uninitialized array. The course runner may show an exit-status message for this unfinished state. After a successful formatting call, the same guard lets the completed label through.
Edit main.c, then use Run to inspect the result and Submit to compare it with the expected output.
-1 in the initialization of written with a call to snprintf(label, sizeof label, ...) that formats "Shelf" and 3 using "%s #%d". The supplied print should show Shelf #3.The check compares the complete output, ignoring whitespace at the beginning and end. It does not inspect your source or prove memory safety. Follow the requested function calls and review the code as well as the result.
Check written < 0 or (size_t)written >= sizeof label before puts.