C Programming - C Preprocessor - Discussion
Discussion Forum : C Preprocessor - Yes / No Questions (Q.No. 4)
4.
It is necessary that a header files should have a .h extension?
Answer: Option
Explanation:
No, the header files have any kind of extension.
Discussion:
16 comments Page 2 of 2.
Himani said:
1 decade ago
Then why do all the predefined header files have ".h" as there extension.
(1)
Atul said:
1 decade ago
Can you tell me what are all the other extensions other than .h ?
Moni said:
1 decade ago
In c++ it accept without .h extension but in c its possible ?
Manishsoni said:
1 decade ago
How can this possible please anyone elaborate it ?
Kapil said:
1 decade ago
No such header files exist without .h extension.
Bhawna said:
1 decade ago
Please elaborate the answer.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers