C++ Function Definition before main()
main()
#include <iostream> using namespace std; void PrintHello() { cout << "Hello!" << endl; } int main(int argc, char *argv []) { PrintHello(); //from www .jav a 2s .c o m return 0; }