Loading

C- Program - Putc Example


Putc Example


#include <stdio.h>

int main(void)
{
   char msg[] = "Hello world\n";
   int i = 0;

   while (msg[i])
      putc(msg[i++], stdout);
   return 0;
}

This entry was posted in . Bookmark the permalink.

Leave a reply