填空题

若有以下程序
int f(int x,int y)
return(y-x)*x;
main()
int a=3,b=4,c=5,d;
d=f(f(3,4),f(3,5));
ptintf("%d\n",D) ;
执行后输出结果是______。

【参考答案】

I
<上一题 目录 下一题>
热门 试题

填空题
以卜函数sstrcat()的功能是实现宁符串的连接,即将t所指字符串复制到s所指字符串的尾部。例如:s所指字符串为abcd,t所指字符申为efgh,函数调用后s所指字符串为abcdefgh。请填空。 #include <string.h> void sstrcat(char *s, char *t) int n; n=strlen(s); while(*(s+n)= )s++;t++;
填空题
以下程序运行后的输出结果是______。 main() int i,m=0,n=0,k=0; for(i=9; i<=11;i++) switch(i 10) case 0: m++;n++;break; case 10: n++;;break; default: k++;n++; printf( %d %d%d n ,m,n,k);
相关试题
  • 以下程序巾给指针p分配三个double型动态内...
  • 若fp已正确定义为—‘个文件指针,d1.dd...
  • 已有定义如下: struct node int data...
  • 以下程序运行后的输出结果是______。...
  • 下面程序的运行结果是______。 int...