Skip to the task
Layout
Back to classic view

You are looking at lesson 2. Your place is still lesson 7, task 1: Modules.

CHECKTask 16 of 23 · step 7: Drills: check yourself

Read the error: %c

What do you fix?

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'.