Skip to content
iamnoobs

Bug Hunt: C

Explore C syntax, types, arrays, and the basics of memory.

Your progress

Loading saved progress…

Find the bug

Level 1 of 10

Read a number

scanf needs the address of number. Which fix is correct?

#include <stdio.h>
int main(void) {
    int number;
    scanf("%d", number);
    return 0;
}
Choose your answer
Change language