On Tue 2008-09-23 19:06:34 UTC+0530, BABITA KALSI ([EMAIL PROTECTED]) wrote:

>> What is the use of #include<conio. h>?
>
> ?? it is a header file is necessary for any c programme to run. eg.
> #include<stdio.h> is standard input output file required to take input
> from user and to give output to the user.

C programs don't require stdio.h.  Consider this simple example:

int main(void)
{
    return 42;
}

This program returns an output value to the calling process (usually
the shell).

Or a slightly more complicated example, which takes input from the
user on the command-line and returns an output value to the calling
process:

int main(int argc, char **argv)
{
    if (!argv[1])
    {
        return 0;
    }

    return (int) *argv[1];
}

> in the same manner <conio.h> is console input and output file.
> Just try to run the program without it .......
> u would get to know when there comes error in it.

http://en.wikipedia.org/wiki/Conio.h

Reply via email to