// demonstration of how the code generated for a simple function call // hussein suleman @ AIM @ CS @ UCT // 16 september 2003 #include "stdafx.h" // function with parameter, local variable, block+variable, return value int testsub ( int x ) { int y; if ( x == 0) { int z = 5; x+=z; } y=x+1; return y; } // MAIN - just call the function ... who cares what this does :) int _tmain(int argc, _TCHAR* argv[]) { int b=0; int a = testsub (b); return 0; }