填空题
以下程序运行后的输出结果是
【20】
。
#include <stdio.h>
main ( )
iht x=0210; printf("%x \n" ,x);
【参考答案】
88
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
以下程序运行后的输出结果是 【15】 。#include <stdio.h>#include <string.h>char * ss(char * s) char * p,t; p=s+1:t= *s: whilet * p) *(,p-1) = *p; p++; * (p-1) =t; return s : main ( ) char * p,str[10] = abedefgh ; p = ss(str); printf( % s n . p):
点击查看答案&解析
填空题
有以下程序:#include <stdio.h>int sub(int n) return(n 10 + n% 10); main( ) int x,y; seanf( %d , &x); y = sub (sub(sub (x))); printf( %d n ;,y); 若运行时输入:1234<回车>,程序的输出结果是 【13】 。
点击查看答案&解析
相关试题
以下函数rotate的功能是:将a所指N行N列的...
以下程序运行后的输出结果是 【17】 。...
以下函数sstrcat的功能是实现字符串的连接...
以下程序的功能是计算:s=1+12+12...