C examples for Language Basics:printf
Quiz: Define two functions and have them one call the other.
#include <stdio.h> void one_three(void); void two(void); int main(void) { /*from ww w. j a va 2 s. com*/ printf("starting now:\n"); one_three(); printf("done!\n"); return 0; } void one_three(void) { printf("one\n"); two(); printf("three\n"); } void two(void) { printf("two\n"); }