what is the difference between <stdio.h> and "stdio.h"

Answer Posted / puneet

stdio.h> is a header file which available in include
directory of the system. When we write #include<stdio.h>
preprocessor search for it in include directory directly
and not out of this directory. But when we write "stdio.h"
precessor start searching for this header file from current
directory and then in parent directories. So if we write
our own stdio.h in the current directory and include in
program as #include"stdio.h" then our header will be
included instead of system header.

Is This Answer Correct ?    18 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

By using C language input a date into it and if it is right?

574


How can I ensure that integer arithmetic doesnt overflow?

608


Which is better pointer or array?

597


what are the advantages of a macro over a function?

647


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

609






.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2000


What is static volatile in c?

576


difference between object file and executable file

6096


What is the use of a ‘’ character?

586


What are the advantages and disadvantages of c language?

562


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1138


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

585


Write a program that accept anumber in words

1252


Is int a keyword in c?

557


State two uses of pointers in C?

641