Loading

C - Program Putch Example


Putch Example



#include <stdio.h>
#include <conio.h>

int main(void)
{
   char ch = 0;

   printf("Input a string:");
   while ((ch != '\r'))
   {
      ch = getch();
      putch(ch);
   }
   return 0;
}

This entry was posted in . Bookmark the permalink.

Leave a reply