Whether variable name in any programming language takes memory space

后端 未结 10 1603
时光说笑
时光说笑 2021-01-05 17:44

e.g.

int a=3;//-----------------------(1)

and

int a_long_variable_name_used_instead_of_small_one=3;//-------------(2)
         


        
10条回答
  •  误落风尘
    2021-01-05 17:52

    In most interpreted languages, the name would be stored in a table somewhere in memory, thus taking up different amounts of space.

提交回复
热议问题