Thursday, 17 July 2014

STRING PROGRAM ( easy )

A VERY SIMPLE STRING PROGRAM


#include<stdio.h>
#include<conio.h>

void main( )
{

char greeting [6] = { 'h', 'e', 'l', 'l', 'o', ' \n ' };
printf("%s", greeting );
getch( );

}

OUTPUT - hello