1char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};
2char greeting[] = "Hello";
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}