ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
what is the difference between #include<stdio.h> and 
#include "stdio.h" ?
 Question Submitted By :: Sourisengupta
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the difference between #include<stdio.h> and #include "stdio.h" ?
Answer
# 1
in case of <stdio.h>  this will be checking only the folder
containing  C compiler...... as we will be describing the
path in the directories option in the IDE.....


in case of "stdio.h"  this will be checking the entire hard
disk there by deleting the path given in the directories
explicitly .....


thank u
 
Is This Answer Correct ?    7 Yes 0 No
Vignesh1988i
 
  Re: what is the difference between #include<stdio.h> and #include "stdio.h" ?
Answer
# 2
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 ?    2 Yes 0 No
Jasbir Singh
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
how can i get this by using for loop? * ** * **** * ****** Excel3
What are bit fields? What is their use? Adobe1
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<= Siemens10
main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output? Ramco6
How many types of linked lists what are they? How many types of data structures?  4
prototype of sine function. Cadence2
what is link list?  2
What is the Difference between Class and Struct? Motorola9
write a program to arrange the contents of a 1D array in ascending order  3
C program to perform stack operation using singly linked list  1
#include<stdio.h> int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i<size;i++) sum+=array[i]; return sum; } output? Ramco5
which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..} TCS2
void main() { int i=5; printf("%d",i+++++i); } ME12
main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? } NDS15
how to find the kth smallest element in the given list of array elemnts. Silicon5
HOW TO SWAP TWO NOS IN ONE STEP? Satyam12
what is the function of void main()?  6
What's the difference between a linked list and an array?  11
what is const volatile?  1
a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A)a,b&c B)Only a & b C)Only c D)All Accenture2
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com