adspace


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

Answer Posted / jasbir singh

When we use #include<stdio.h>, the compiler will look at the
compiler's directory for stdio.h file and then include it.
When we use #include"stdio.h", it will look in the source
code's directory for the stdio.h file.

"" are basically used when the header file is placed with
the source code(means .c or .cpp files), not in the C
Compiler's 'include' directory. It is basically used to
include our own self generated header files into our program.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general form of a C program?

1098


What is dynamic dispatch in c++?

1138


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2214


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1615


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1358


How do you determine the length of a string value that was stored in a variable?

1203


write a progrmm in c language take user interface generate table using for loop?

2122


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2826


write a c program to find the sum of five entered numbers using an array named number

2244


what is ur strangth & weekness

2588


develop algorithms to add polynomials (i) in one variable

2258


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

2001


write a program to find out prime number using sieve case?

2174


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1942


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2397