You don't have to declare a special variable for it if you don't care about its actual value.
你并不需要为它声明一个特定的变量,如果你不关心它的实际值。
I declare a variable called n. I'm not giving it a value yet, so I had better be careful.
我申明一个变量n,我先不给它赋值,所以我最好小心点。
And actually, if I don't want to clobber, as we say, overwrite the value of my variable, ; I could declare another one and store the return value in Y; Y so now I have two ints in memory; X and Y, 3 one with two, one with three.
实际上,如果你不想彻底清除,像我们说的,覆盖那个变量的值,我可以申明另一个变量Y,并在Y中保存那个返回值;,现在内存中有两个int数,X和,一个的值为2,一个为。
应用推荐