• Source
    1. #include <iostream>
    2. #include <cstdlib>
    3.  
    4. using namespace std;
    5.  
    6. int foo() {
    7. cout << " computing ... " << endl;
    8. return 4;
    9. }
    10.  
    11. int main() {
    12. cout << "2 + 2 = " << foo() << endl;
    13. return EXIT_SUCCESS;
    14. }