main.c example now prints sum