函数-测试题_原创精品文档.pdfVIP

  • 2
  • 0
  • 约1.72万字
  • 约 14页
  • 2023-12-13 发布于中国
  • 举报

第3章函数

3.1选择题

1.以下正确的函数原型为(d)。

(a)f(intx;inty);(b)voidf(x,y);

(c)voidf(intx,y);(d)voidf(int,int);

2voidfunl(int);c

.有函数原型下面选项中,不正确的调用是()。

(a)doublex=2.17;funl(x);

(b)inta=15;funl(a*3.14);

(c)intb=100;funl(b);

(d)funl(256);

3.voidfun2(int*);c

有函数原型下

文档评论(0)

1亿VIP精品文档

相关文档