here is our basic program we are gonna study all of its element line by line so today is the turn of the 1st line / 1st header file which is stdio.h , so here's our basic program...
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("hello world");
}
so stdio plays an very important role actually it provide an interface . stdio.h stand for standard input output .
so what is standard input output?????
By hearing the word standard input or standard output we can understand it means keyboard (ie standard input) and monitor(ie standard output) . So header file stdio.h enables our program enables to use or interact with user using monitor and keyboard.we can understand it better by taking an example of an ATM machine ( it is just hypothetical example ATM machine does not use C language ) , coming back to our example ,ATM machine provide us an interface using keyboard ( keypad or touch keys ) and monitor (is screen) . So stdio enable our program to use standard input /output devices to communicate or interact with user.
In next post we will talk about conio.h we stay connect ..
you can follow me on twitter on @mayank8005.
0 comments:
Post a Comment