what is the difference between <stdio.h> and "stdio.h"
Answer Posted / shuvransu_banerjee
<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 ? | 313 Yes | 16 No |
Post New Answer View All Answers
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is malloc return c?
Explain about block scope in c?
What is class and object in c?
Can two or more operators such as and be combined in a single line of program code?
Why main function is special give two reasons?
When should a far pointer be used?
What is the purpose of ftell?
What language is lisp written in?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
How can I prevent another program from modifying part of a file that I am modifying?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What is LINKED LIST? How can you access the last element in a linked list?
Differentiate between Macro and ordinary definition.
Why is sprintf unsafe?