Please give me examples of FUNCTIONS

Hey guys, i don't know anything yet about functions and "passing arguments/parameters" ....but it would be discussed on our next c++ class..

Can you please give/post a very simple program with the following conditions:


1) Functions with no return value and without passing arguments/parameters
2) Functions with no return value but with passing arguments/parameters
3) Functions with return value but without passing arguments/parameters
4) Functions with return value and with passing arguments/parameters
Topic archived. No new replies allowed.