char name[10]; 是什么意思啊,是char型的数组吗

[复制链接]
查看11 | 回复4 | 2008-10-12 12:42:54 | 显示全部楼层 |阅读模式
是啊,是一个char型的数组,可以存储name[0]到name[9]的十个字符。...
回复

使用道具 举报

千问 | 2008-10-12 12:42:54 | 显示全部楼层
当然是的.字符型数组啊...
回复

使用道具 举报

千问 | 2008-10-12 12:42:54 | 显示全部楼层
#include #include #include using namespace std ;int main(){ int number = 1234567890; char string[10]; //10为数组长度 itoa(number, string, ...
回复

使用道具 举报

千问 | 2008-10-12 12:42:54 | 显示全部楼层
是的...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行