Skip to the task
Layout
Back to classic view

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

CHECKTask 16 of 23 · step 7: Drills: check yourselfRead the error: %c
Read the error: %c in practice/01/

What do you fix?

Details & hint
error: format '%c' expects argument of type 'int', but argument 2 has type 'char *' [-Werror=format=]
    4 |     printf("Group: PI25%c\n", "A");

Stuck? "A" in double quotes is a string, and %c expects one character: 'A'.

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