Variable
Title
Question
example: x= 10
whether memory is allocated for label x or not
if not how it's referencing the memory address
Python-3.4.3 General
Answers:
In python things work a little differently.
In python you need not be concerned with memory locations like you have to in C/C++. The value 10 is a data type and an object that is stored in memory. x is a variable name that acts as a label to refer to the object 10.
Login to add comment