【计算机二级考试模拟题】2021年4月全国计算机等级二级C笔试考前练习习题(15).docxVIP

  • 2
  • 0
  • 约2.83千字
  • 约 4页
  • 2021-10-23 发布于湖北
  • 举报

【计算机二级考试模拟题】2021年4月全国计算机等级二级C笔试考前练习习题(15).docx

PAGE PAGE 1 【计算机二级考试模拟题】2021年4月全国计算机等级二级C笔试考前练习习题(15)   2.有以下程序:  void swapl(int c[])  {int t;  t=c[0];c[0]=c[1];c[1]=t;  }  void swap2(int c0,int c1)  {int t;  t=c0;c0=c1;c1=t;  }  main()  {int a[2]={3,5},b[2]={3,5};  swap1(a);swap2(b[0],b[1]);  printf(%d%d%d%d\n,a[0],a[1],b[0],b[1]);  }  

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档