Answers for "how to take string as a input in c"

C
1

getting string input in c

#include<stdio.h>
#include<conio.h>
void main(){
chat sam[10];
clrscr();
printf("ENTER STRING NAME :");
gets(s);
printf("STRING :%s",s);
getch();
}
Posted by: Guest on March-16-2021

Code answers related to "how to take string as a input in c"

Code answers related to "C"

Browse Popular Code Answers by Language