User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







playground:c:stdio.h:printf

This is an old revision of the document!


C Example Sourcecode

#include <stdio.h>
 
int main(int **argc, char **argv)
{
/*
 * Sourcecode example for printf
 * https://code-reference.com/c/stdio.h/printf
*/
   int i;
   /* Click on int to look what it is */
   i=0;
 
   while (1) {
  /* Click on while to read the description of while*/
       i++;
       printf("Hello World no: %i\n",i);
       /* Click on printf to read the description of printf*/
   }
}

Output example for a compiled source

  output:
  
  user@comp:$ ./te 
  Hello World no: 1
  Hello World no: 2
  Hello World no: ...
  ... and so on, and so on

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
playground/c/stdio.h/printf.1501372142.txt · Last modified: 2024/02/16 01:11 (external edit)

Impressum Datenschutz