C Program to demonstrate string declaration and initialization


//C Program to demonstrate string declaration and initialization.

#include<stdio.h>
#include<conio.h>
void main()
{
char mystring[50]="Learn c programming language";
clrscr();
puts(mystring);
getch();
}

=======================
Output: -
Learn c programming language

Comments