What should not contain a header file?

Answers were Sorted based on User's Feedback



What should not contain a header file?..

Answer / laxman

header file should contain only declarations and structure
templates.It should not contain function definitions.

Is This Answer Correct ?    8 Yes 3 No

What should not contain a header file?..

Answer / ada

Head file should not contain defining instances of global
variables and function bodies.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

Why doesn't the code "a[i] = i++;" work?

4 Answers  


Explain the process of converting a Tree into a Binary Tree.

0 Answers   Ignou,


What are derived data types in c?

0 Answers  


char *p="name"; printf(p);

1 Answers  


Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

6 Answers   Subex,






void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }

1 Answers  


how to use virual function in real time example

1 Answers   CTS, Wipro,


What are the header files used in c language?

0 Answers  


what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);}

9 Answers   TCS,


What is a structure and why it is used?

0 Answers   Hexaware,


the data type used for unlimited value in c and how to do this program

1 Answers  


Categories