example3: added stdio.h header.