标签:span out char namespace eval name argv 开发 cpp
#include <iostream>
using namespace std;
void changeValue(int n)
{
n = 10;
}
int main(int argc, char *argv[])
{
int num = 1;
changeValue(num);
cout << num << endl; // 这里输出num = 1
return 0;
}
标签:span out char namespace eval name argv 开发 cpp
原文地址:https://www.cnblogs.com/CoderHong/p/8985695.html