I wonder where constant variables are stored.Is it in the same memory area as global variables? Or is it on开发者_JAVA技巧 the stack?How they are stored is an implementation detail (depends on the com
1、global在函数内创建全局变量,相当于在文件内创建全局变量。2、修改函数内的全局变量。由于函数中直接对全局变量进行分配/修改,因此被视为创建新的局部变量。当然,可以通过索引定位全局变量中的元素进...