0

Programming in c

In c what are the variable

2nd Feb 2019, 6:42 PM
TEJAS SANGLE
TEJAS SANGLE - avatar
1 Respuesta
+ 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
2nd Feb 2019, 6:51 PM
HonFu
HonFu - avatar