lak said:
if i view stdio.h there are only symbolic constants.
where is the definition of printf and scanf is available?
i want to see the definition of printf and scanf and where it is
stored?
Do you want the definitions or the declarations?
The declaration of printf is something like this:
int printf(const char * restrict format, ...);
whereas the definition is something like this:
int printf(const char * restrict format, ...)
{
/* lots and lots of code here */
}
The definition won't be in any header file, but the declaration
probably will be.
But the standard headers are written for the compiler to use, not
necessarily for programmers to read, and they're free to use ugly
compiler-specific extensions that you can't, or shouldn't, use in your
own code.
If you want to know about a standard function, you're much better off
reading a reference book or your system's documentation. Reading
headers can tell you things about your specific implementation, but
depending on that information can make your own code non-portable.