字符数组是指用来存放字符数据的数组。其定义的一般形式为: char 数组名[数据长度]。字符数组用于存放字符或字符串,字符数组中的一个元素存放一个字符,它在内存中占用一个字节。C语言中没有字符串类型,字符串是存放在字符型数组中的。
存储密码必须作为字符数组提供。
The store password must be supplied as an array of characters.
极其常见的缓冲区种类是简单的字符数组。
An extremely common kind of buffer is simply an array of characters.
传统上,位图在代码内由一个字符数组表示。
Bitmaps are traditionally represented inside your code by an array of chars.
Lists differ from strings in two ways; one way is that it's mutable, the other way is that the values need not be characters. They can be numbers, they can be characters, they can be strings they can even be other lists.
有两个不同之处,一个在于数组是可变的;,另一点在于数组里面的值,不一定是字符,可以是数,可以是字符,也可以是字符串,甚至可以是其他的数组。
应用推荐