#include <stdio.h> void foo( void ) { int a = 42; } int bar( void ) { int b; return b; } void main( void ) { int c; foo(); c = bar(); printf( "%d\n", c ); }