C examples for Language Basics:printf
Print integer value out with printf()
#include <stdio.h> int main()/*from w ww . ja va2 s . c o m*/ { int age; age=69; printf("was %d years old.\n",age); return(0); }