A.The fast-developing technology. B.The increasing information and communication via the Net. C.The way how people make use of the Internet. D.The people who design different applications.
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】设计一个函数用来交换两个变量的值。并在主函数调用它。#include stdio.h ;void main(){ int x=5,y=10; ;//调用函数 printf(交换后:x=%d,y=%d\n,x,y);}void swap(int *p1,int *p2){ int x; x=*p1; *p1=*p2; *p2=x;}在划线处填上正确的选项( )。
【单选题】若已定义函数原型如下的swap():void swap(int *p1, int *p2);则在以下main()中调用了swap函数的正确语句是( )int main(){ int a = 3, b = 5; ( ) // 调用函数swap,交换a和b的内容 printf("%d %d\n", a, b); return 0;}