Whether variable name in any programming language takes memory space

后端 未结 10 1604
时光说笑
时光说笑 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 18:13

    compilers are there for a reason... They optimize code to use a little space as possible and run as fast as possible especially modern ones.

提交回复
热议问题