int square( int x ) { return x * x; } int main( ) { int value = 5; int result = square( value ); return 0; }
Demo: download and run this EXE, then click