Blogger news

Followers

Monday, July 21, 2014
//refer libraries
#include<stdio.h>
#include<conio.h>

 void main()   //main function definition
{
 char c[10];// string variable declaration
clrscr();//to clear the screen it explained in conio.h
                printf(“enter your string \n”);
                scanf(“%s”,c);
                printf(“you are entered string is :%s”,c);
                getch();//this function makes to wait a character from standard input or keyboard this function described in conio.h
}
               

0 comments: