以下程序的输出结果是【】。 include unsigned fun (unsigned num) {unsigned k=1; do{ 以下程序的输出结果是 【 】 。include<iostream.h>unsigned fun (unsigned num){unsigned k=1;do{k*=num%10;num/=10;} while(num);return k;}void main( ){ unsigned n=26;cout <<fun(n) <<end1

以下程序的输出结果是【】。 include unsigned fun (unsigned num) {unsigned k=1; do{

以下程序的输出结果是 【 】 。

include<iostream.h>

unsigned fun (unsigned num)

{unsigned k=1;

do{k*=num%10;num/=10;} while(num);

return k;

}

void main( )

{ unsigned n=26;

cout <<fun(n) <<end1


相关考题:

重载操作符的定义一般见于 IEEE 库的哪几个程序包 A.std_logic_arith、std_logic_unsigned、std_logic_signedB.std_logic_arith、std_logic_unsigned、std_logic_1164C.std_logic_unsigned、std_logic_1164、std_logic_arithD.std_logic_1164、std_logic_arith、std_logic_unsigned、std_logic_signed

以下程序的输出结果是【18】。unsigned fun6(unsigned num){ unsigned k=1;do{k *=num;num/=10;}while (num);return k;}main(){ unsigned n=26;printf("%d\n", fun6(n));}

下面程序的输出结果是______。 unsigned fun(unsigned num) { unsigned k=1; do{ k*=num%10; num/=10; }while(num); return(k); } main() { unsigned n=26; printf("%d\n",fun(n)); }A.0B.4C.12D.无限次循环

下面程序的输出结果为 【】 。 include void main( ) {int num=0,i=8;do{ i--; num ++ 下面程序的输出结果为 【 】 。include<iostream.h>void main( ){int num=0,i=8;do{i--;num ++;}while(--i);cout<<num<<end1;}

下面程序的输出结果是_______。 unsigned fun(unsigned num) { unsigned k=1; do { k*=num%10; num/=10; }while(num); return(k); } main() { unsigned n=26; printf("%d\n",fun(n)); }A.0B.4C.12D.无限次循环

以下程序的输出结果是【】。include unsigned frn(ullsigned num) { unsi9ned k=1; do{ 以下程序的输出结果是【 】。include<iostream.h>unsigned frn(ullsigned num){ unsi9ned k=1;do{k*=num%10;num/=10;} while(num);return k;}void main(){ unsigned n=26;cout<<fun(n) <<endl;}

以下程序的输出结果是unsigned fun6(unsigned num){ unsigned k=1; do{k *=num%10;num/=10;} while (num); return k;}main(){ unsigned n=26; printf("%d\n", fun6(n));}

下面程序的输出结果是【 】。unsigned fun6(unsigned num){ unsigned k=1;do { k*=hum%10;num/=10;}while(num);return(k); }main(){ unsigned n=26;printf("%d\n",fun6(n));}

【填空题】以下程序的输出结果为()。 main() {short i; i=-4; printf("ni:dec=%d, oct=%o, hex=%x, unsigned=%un",i,i,i,i); }