问题详情
下面这个程序执行后会有什么错误或者效果:
define MAX 255int main() { unsigned char A[MAX],i;//i被定义为unsigned char for (i=0;i<=MAX;i++) A[i]=i; }
未找到的试题在搜索页框底部可快速提交,在会员中心"提交的题"查看可解决状态。
收藏该题
查看答案
相关问题推荐
-
long a=0x801010;
a+5=?
0x801010用二进制表示为:“1000 0000 0001 0000 0001 0000”,十进制的值为8392720,再加上5就是8392725罗
1)给定结构struct A
{
char t:4;
char k:4;
unsigned short i:8;
unsigned long m;
};问sizeof(A) = ? -
1:(void*)ptr和(*(void**))ptr的结果是否相同?其中ptr为同一个指针
-
2,已知一个数组table,用一个宏定义,求出数据的元素个数
define NTBLdefine NTBL (sizeof(table)/sizeof(table[0]))面试题: 线程与进程的区别和联系? 线程是否具有相同的堆栈? dll是否有独立的堆栈?
-
ISO的七层模型是什么?tcp/udp是属于哪一层?tcp/udp有何优缺点?
-
求函数返回值,输入x=9999;
int func (x )
{
int countx = 0;
while (x )
{
countx ++;
x = x&(x-1);
}
return countx;
}
结果呢?