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

阅读程序写结果: #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
评论
46
点击