题库 信息学奥赛题库 题目列表 阅读程序写结果:#include <iostream> #in...
填空题

阅读程序写结果:

#include <iostream>
#include <string>
using namespace std;
void fun( char *a, char *b ) {
	a = b;
	(*a)++;
}
int main() {
	char c1, c2, *p1, *p2;
	c1 = 'A';
	c2 = 'a';
	p1 = &c1;
	p2 = &c2;
	fun( p1, p2 );
	cout << c1 << c2 << endl;
	return(0);
}

输出:__________

题目信息
阅读程序 2015年 初赛
-
正确率
0
评论
23
点击
QQ
微信