网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

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

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));}


参考答案

更多 “ 下面程序的输出结果是【 】。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));} ” 相关考题
考题 以下程序的输出结果是【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.无限次循环

考题 面程序执行完后k的值是【 】。void main(){unsigned num=26,k=1;do{K * = num%10;num/ = 10;{while(num);cout<<k;}

考题 以下程序的输出结果是【】。 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

考题 下面程序的输出结果是_______。 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.无限次循环

考题 运行下列程序时,若输入数据为“321”,则输出结果是( )。 main() {int num,i,j,k,s; scanf("%d",num); if(num>99) s=3; else if(num>9) s=2; else s=1; i=num/100; j=(num-i*100)/10; k=(num-i*100-j*10); switch(s) {case 3:printf("%d%d%d\n",k,j,i); break; case 2:printf("%d%d\n",k,j); case 1:printf("%d\n",k); } }A.123B.1,2,3C.321D.3,2,1

考题 以下程序的输出结果是【】。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));}

考题 下面程序是从键盘输入学号,然后输出学号中百位数字是3的学号,输入0时结束循环。请选择填空。 main() { 1ong int num; scanf("%ld",num); do { if(__) printf("%ld",num); scanf("%ld",num); }while(!num==0); }A.num%100/10==3B.num/100%10==3C.num%10/10==3D.num/10%10==3