C++ Function Return Returning Values from Functions
#include <iostream> using namespace std; int ReturnSum(int valueA, int valueB) { return valueA + valueB; } int main(int argc, char *argv []) { int sum = ReturnSum(3, 6); cout << sum << endl; return 0; }