Program in C to print name and display on screen

Write a program in C to print name and display on screen

#include <stdio.h>

void main ()
{
          char name [15];
          clrscr ();
          printf ("Enter your name: ");
          gets (name);
          printf ("\nme is: %s",name);
          getch ();
}


Post a Comment