scan(f) Reads in data and stores it in one or more variables
int userAge;
scanf(“%d”, &userAge);
& = address of userAge (Memory address associated with the variable)
Delimiter – Signals the stop of the integer. Could be anything not from 0 to 9
Operator Precedence
Associatively determines left to right.
When handling exceptionally large or small numbers, mix values to prevent passing the limit of the memory.
Constants (Values which cannot change)
const double pi=3.14……
Now you cannot accidentally assign another value to your variable pi. It’s stuck. The compiler checks for any pi’s appearing on the left side and if it see’s one, it stops and gets annoyed.