0

Can someone please explain the variables in c to me am so confused

C language lesson 3.1

17th Sep 2021, 9:27 PM
mj Paull
mj Paull - avatar
2 Respuestas
+ 5
Variables are named memory locations. When you create one they take some space in memory according to its data type. Like char takes one byte in memory. When you save something in memory, you also might need to access it later. You can access it by its name or by its address in the memory. In short you just give name to a memory location and store data there.
17th Sep 2021, 9:49 PM
HK Lite
HK Lite - avatar
+ 1
Thanks
18th Sep 2021, 2:32 AM
mj Paull
mj Paull - avatar