Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Function Parameters

#include <iostream>
using namespace std;
int add_two(int a, int b) {
return a + b;
int main() {
// print the value 3 returned by add_two(1, 2)
cout << add_two(1, 2) << endl;
return 0;
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content