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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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 relation between # and include<stdio.h>
 Question Submitted By :: Kundan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the relation between # and include<stdio.h>
Answer
# 1
include<stdio.h> means we include standard input and output 
functions code we does not write any thing about library 
functions .h means header file if we include tis header 
file then we place # before the include<stdio.h> this is c 
syntax.
 
Is This Answer Correct ?    6 Yes 1 No
Gita
 
  Re: What is the relation between # and include<stdio.h>
Answer
# 2
actually, in C, every keyword has some specific value some 
specific meaning and those meanings of keywords are already 
been stored in header files like 
<stdio.h>,<conio.h>,<math.h> etc.... so to make computer 
understood the meaning of printf, scanf like keywords, we 
have to use header files in begining of the prog... and # 
is a preprocessor.... this tells computer that now u be 
ready to write a prog... 
this is wat i think.... though i dnt hav technical 
knowledge still i tried to xplain.....
 
Is This Answer Correct ?    3 Yes 0 No
Priyanka
 
 
 
  Re: What is the relation between # and include<stdio.h>
Answer
# 3
it is library file access,which contains information that 
must be included in the program when it is compiled.
 
Is This Answer Correct ?    3 Yes 0 No
Pandya Umesh C
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; } NDS3
write a 'c' program to sum the number of integer values  5
C program to perform stack operation using singly linked list  1
What does a run-time "null pointer assignment" error mean?  2
how many header file is in C language ?  14
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?  1
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?  2
How many types of linked lists what are they? How many types of data structures? BSNL5
What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); } ADITI5
write a program to find the sum of the array elements in c language?  8
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed? Google5
how to create c progarm without void main()?  1
declare afunction pointer to int printf(char *)? HCL1
What are .h files and what should I put in them?  3
I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.  1
What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?  1
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?  3
Hai why 'c' is the middle language  2
i want to know aptitude questions,technical questions  2
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer) Wipro7
 
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