Using C String by puts and gets function

#include <stdio.h>
#define CC "Please enter a string"
int main (void)
{
    char s[100];
    int i;
    puts(CC);
    gets(s);
    puts(s);
    system("pause");
    return 0;
}

0 comments:

Post a Comment