What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?



What is the behavioral difference when include header file in double quotes (“”) and ang..

Answer / Divakaran Kumar

Including a header file using double quotes will search for the header file in the current directory, while including it with angular braces will search for the header file in the standard system directories.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?

1 Answers  


What is dynamic memory allocation?

1 Answers  


How do you sort filenames in a directory?

1 Answers  


a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


What is difference between scanf and gets?

1 Answers  


main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }

6 Answers  


What are control structures? What are the different types?

1 Answers  


print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1

1 Answers   Winit,


how to find greatet of 10 numbers without using array?

4 Answers  


Is c weakly typed?

1 Answers  


What happens if header file is included twice?

1 Answers  


What is the benefit of using #define to declare a constant?

1 Answers  


Categories