69,371
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
typedef unsigned char uchar;
#define MAX 6
int main()
{
uchar n=0;
uchar table[MAX]={1,2,3,4,5,6};
uchar Number;
uchar *ptr=table;
int i;
for(i=0; i<MAX; i++)
#if 0
printf("%d ", *ptr++);
#else
printf("%d ", *ptr+n++);
#endif
putchar(10);
}
为什么不自己写个小程序 测试下呢