BASICS OF C LANGUAGE
A place where one could learn step by step about C language and gradually become a good programmer.
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment