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
 
Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass. Microsoft6
What is the real difference between arrays and pointers?  11
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .  3
main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); } TCS6
Find string palindrome 10marks Honeywell5
2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers. Nagarro2
the code is::::: if(condition) printf("hello"); else printf("world"); WHAT WILL BE THE CONDITION IN IF IN SUCH A WAY THAT BOTH HELLO AND WORLD ARE PRINTED IN A SINGLE ATTEMPT?????? SINGLE ATTEMPT IN THE SENSE... IT MUST FIRST PRINT "HELLO" AND IT MUST GO TO ELSE PART AND PRINT "WORLD"..... NO LOOPS, RECURSION ARE ALLOWED........................ IBM9
Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me  4
how many error occurs in C language ? Wipro11
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+.... Ignou2
how to connect oracle in C/C++.  2
Write a program to interchange two variables without using the third variable? Accenture11
Sir i want e-notes of C languge of BAlaguruswami book i.e scanned or pdf file of balaguruswamy book on c language.PLEASE SEND ME on my mail id ajit_kolhe@rediff.com  4
How do you write a program which produces its own source code as its output?  3
convert 12345 to 54321 withoutusing strig  3
void main() { int i=5; printf("%d",i+++++i); } ME12
what is the output? #define fun(a,b,t) (g ##t=(a),(a)=(b),(b)=g##t) float gfloat; main() { float a=1.12,b=3.14; fun (a,b,float); printf("na=%4.2f,b=%4.2f",a,b); } A)Error in Defining Macro B)a=1.12,b=3.14 C)a=3.14,b=1.12 D)None of the Above Accenture2
How do I declare a pointer to an array?  5
User define function contain thier own address or not.  2
What is the difference between char a[] = "string"; and char *p = "string"; ? Honeywell11
 
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