标签:
给函数传递参数
#include<iostream> int show(int a,int b){ return a + b; } int main(){ int a = 1, b = 2, c; c = show(a, b); std::cout << c << std::endl; }
2.2 函数的传参
原文地址:http://www.cnblogs.com/cplusplus-study/p/4503067.html