王菜鸟的博客示例代码 #include<iostream> using namespace std; int function(int a){ int b = 2,c = 0; //a,b,c仅在函数function()内有效 ... cin>>m; n = function(m); cout<<n; return 0;
炙@年的博客1. 示例代码 #include<iostream> using namespace std; int function(int a){ int b = 2,c = 0; //a,b,c仅在函数function()内有效 ... cin>>m; n = function(m); cout<<n; retur