printf() and scanf(),these function are under that header file.
To work these functions is it compulsory?
Is there any other functions under it.
What is the need of #include%26lt;stdio.h%26gt; header file in 'c' language?
stdio stands for Standard Input and Output if I'm not misstaken. Its the functions you use for input and output, you could of course code functions to do the same thing if you want.
Reply:it has predefined functions in it.stdio is standard input output header file.classes and functions are defined in this header file
Reply:#include%26lt;stdio.h%26gt;is stands for standard input output function.
Reply:stdio.h,is an inbuilt library function in c.when overcome by compiler %26amp; during run ,calls the library routine for std i/o .for instance,u are able 2 use printf,scanf etc in ur program wit the help of stdio.b'cos printf is to prit the o/p to screen %26amp; scanf to get i/p frm user.withot the statement u'l get a compile time error as missing library fn: or unknwn exprn.//r/y conio.h enables getch,getchar lik functions 2 work.
Reply:The #include%26lt;stdio.h%26gt; header file in 'c' language is just very necessary because that is where the input and output routines are used by C language.
If you can build your own programs that will avoid #include %26lt;stdio.h%26gt; then its ok, but most programmers do not want to go through that stress. That file behaves as if it's a built-in program file just like BASIC and FORTRAN routines have already built-in instruction set. C language has few keywords (32), and that makes it very powerful. Some of these keywords are all combined in a special way to form your file 'stdio.h', and that makes it very important, but not absoultely (do-or-die) compulsory that you must use it.
Some other members where printf() and scaf() belong are:
gets(), put(), rename(), setbuf(), sprintf(), sscanf(), ungetc(), vfprintf(), unlink(), fclose(), fgetc(), fread(), fputs(), fopen(), freopen(), fwrite(), fseek(), and so on.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment