Jun 22 2006

把一些琐碎的东西记录起来

Category: 技术ssmax @ 16:13:29

cpp已经忘记得7788了。。。突然被人问起,数组大小能不能动态指定。。。java是可以的。。。然后:

C99 之前,声明数组时,[] 中的值必须是大于零的整数常量。C99 中,声明数组时,[] 中可以是变量。这就是所谓的变长数组(variable-length array,简称 VLA)。声明 VLA 时,不能对其进行初始化。

Leave a Reply

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word