c语言笔试题
1.填空题(1)、请写出下列代码的输出内容
  #include <stdio.h>
  int main(void)
  {   int a,b,c,d;
  a=10;
   b=a++;
   c=++a;
   d=10*a++;
   printf("b
,c,d:%d,%d,%d",b,c,d);   return 0;
  }  答:10,12,120 (2)char
 str[] = "\\\0";
char *p = str;
int n = 1000;
请计算sizeof (str ) =
 ____________
 sizeof ( p ) =
 ______________
  sizeof ( n ) = ______________
3 4 4
(3)UCHAR *pucCharArray[10][10];
typedef union unRec
{ ULONG ulIndex;
USHORT usLevel[6];
UCHAR  ucPos;
}REC_S; ...
附件列表

c语言笔试题.docx

大小:19.65 KB

¥2元
马上下载