Skip to the task
Layout
Back to classic view

You are looking ahead. Your place is still task 1: Algorithm.

CHECKTask 13 of 21 · step 5: Special charactersRead the error: a single %
Read the error: a single % in practice/01/

Write 100% instead of 100%% and click ▶. What does '\x0a' in the error mean?

Details & hint
C:/.../practice/01/main.c:16:23: error: unknown conversion type character '\x0a' in format [-Werror=format=]
   16 |     printf("Done: 100%\n");
      |                       ^~

Stuck? printf thinks % starts a format, and what follows is a new line: '\x0a' is the code of \n. There is no such format. Put %% back.

practice 01 CMakeLists.txt Code Diff
UNCHANGED This step does not change this file.
add_executable(p01_hello main.c)