Print integer value out with printf() - C Language Basics

C examples for Language Basics:printf

Description

Print integer value out with printf()

Demo Code

#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);
}

Result


Related Tutorials