Skip to content
Sign in
General Knowledge

In the statement scanf(“%d”, &kilometer);, kilometer is a ?.

Tap an option to check the answer. You can also press A–D.

Explanation
In the statement scanf("%d", &kilometer);, kilometer is considered a variable because: Declaration: Before this statement, kilometer must have been declared as a variable Address of Operator:The & operator in &kilometer is the address-of operator. It provides the memory address of the variable kilometer to the scanf function. Variable Usage: Variables are used to store data that can be modified during program execution.