Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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();
}
 
PREVIOUS NEXT
Tagged: #string #input
ADD COMMENT
Topic
Name
6+5 =