填空题

表达式 c3=c1.operator+(c2)或c3=operator+(c1,c2)还可以表示为 【10】

【参考答案】

c3=c1+c2
<上一题 目录 下一题>
热门 试题

填空题
若有以下程序: #include <iostream> using namespace std; int f(int x, int y) return (y-x)*x; int main() int a=3,b=4,c=5,d; d=f(f(a,b) ,f(a,c) ); cout<<d<<<end1; return 0; 执行后的输出结果是 【8】 。
填空题
函数sstrcmp()的功能是对两个字符串进行比较。当s所指字符串和t所指字符串相等时,返回值为0:当s所指字符串大于t所指字符串时,返回值大于0;当s所指字符串大于t所指字符串时,返回值大于0(功能等同于strcmp())。请填空。 int Sstrcmp(char *S,char *t) while(*s&&*t&&*S==*t) s++; t++; return 【7】 ;
相关试题
  • 若有以下程序: #include <iostream>...
  • 有如下程序: #include <iostream> u...
  • 如果一个数组中的每个元素都是同一类的对象...
  • 下列程序在构造函数和析构函数中申请和释放...
  • 下面程序的打印结果是 【11】 。 #in...