Skip to main content

Computed Profile

Challenge on lesson: Checkpoint: Variables & Types

Implement void program(void) that prints exactly: `` grade=D (68) int bytes=4 ` Line 1: compute the character 'D' from 'A' + 3 (print it with %c) and its numeric code with %d. Line 2: compute the byte count with sizeof(int) and %zu. Do not hard-code D, 68, or 4`.

Difficulty: beginner

Back to lesson: Checkpoint: Variables & Types