Computers in Engineering WWW Site - Example 9.2

Example 9.2


C Version

/*
     Program to demonstrate how printf can deal with numbers
*/

#include <stdio.h>

main()
{
  printf("C12.C -> Program to demonstrate printf\n");
  printf("%d\n", 5);
  return(0);
}
/* End of Program C12 */
/*
OUTPUT :
C12.C -> Program to demonstrate printf
5

*/

Last modified: 21/07/97