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   To Refer this Site to Your Friends   Click 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 should not contain a header file?
 Question Submitted By :: Fahim
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What should not contain a header file?
Answer
# 1
header file should contain only declarations and structure 
templates.It should not contain function definitions.
 
Is This Answer Correct ?    4 Yes 2 No
Laxman
 
  Re: What should not contain a header file?
Answer
# 2
Head file should not contain defining instances of global
variables and function bodies.
 
Is This Answer Correct ?    0 Yes 1 No
Ada
 
 
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal) Subex1
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?  6
can we write a program in c for printf and scanf without using header file stdio.h  1
Why preprocessor should come before source code?  2
what is the difference b/w compiler and debugger? Assurgent1
what is differnence b/w macro & functions  1
what is op? for(c=0;c=1000;c++) printf("%c",c); Trigent18
How can I return multiple values from a function?  4
which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT; TCS5
WAP TO ACCEPT STRING AND COUNT A COMES N TIMES B COMES N TIMES C COMES N TIMES D COMES N TIMES AND SO ON......... AT LAST UNTIL Z COMES N TIMES...............  3
given the piece of code int a[50]; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a[5] c.pa[5] d.*(*pa + 5) TCS5
Hai why 'c' is the middle language  2
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
wite a programme in c to linear search a data using flag and without using flags? TCS3
could u able to tell about suresoft technical session  1
what are the languages used in c#? Infosys1
write a fuction for accepting and replacing lowercase letter to'Z' with out using inline function. Temenos4
How would you write qsort?  1
How can I implement opaque (abstract) data types in C? What's the difference between these two declarations? struct x1 { ... }; typedef struct { ... } x2;  2
what is pointer ? Kernex-Micro-Systems7
 
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