c language string

Solutions on MaxInterview for c language string by the best coders in the world

showing results for - "c language string"
Ebony
31 Jul 2019
1char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
2char greeting[] = "Hello";
Emanuele
27 Nov 2018
1//BY SAMEERAZ
2#include<stdio.h>
3#include<conio.h>
4void main(){
5char string[50];
6clrscr();
7printf("ENTER STRING:");
8gets(s);//gets is basically used as scanf();
9printf("TYPED STRING:%s",string);
10getch();
11}