Answers for "how to use string in c language"

C
2

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();
}
Posted by: Guest on March-17-2021
0

get string for c

char s[5];
Posted by: Guest on February-25-2021

Code answers related to "C"

Browse Popular Code Answers by Language