0
Programming in c
In c what are the variable
1 ответ
+ 3
You can imagine a variable like a 'pot' that can contain something specific.
int x;
This is a pot with the name x, that can hold an int (an integral number).
By writing x=5, you put a 5 into your pot.
From now on, whenever you write x in your code, it will mean 5.
For example:
printf("%d", x+5)
Output:
10