Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c language string

//BY SAMEERAZ
#include<stdio.h>
#include<conio.h>
void main(){
char string[50];
clrscr();
printf("ENTER STRING:");
gets(s);//gets is basically used as scanf();
printf("TYPED STRING:%s",string);
getch();
}
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #language #string
ADD COMMENT
Topic
Name
6+6 =