Math.h is a —
2019
Math.h is a —
- A.
Derived data type
- B.
Function
- C.
Header file
- D.
Built-in data type
- E.
None of these
Attempted by 1242 students.
Show answer & explanation
Correct answer: C
Math.h is a standard header file in C programming language. It contains function declarations for various mathematical operations such as square root (sqrt), sine (sin), cosine (cos), and logarithm (log). To use these functions in a C program, we include Math.h using the #include directive, like #include <math.h>. This allows the compiler to recognize and link the mathematical functions during compilation. Therefore, Math.h is a header file, not a data type or function itself.
हिन्दी उत्तर: Math.h एक मानक हेडर फ़ाइल है जो C प्रोग्रामिंग भाषा में गणितीय संचालनों के लिए फ़ंक्शन घोषणाएँ शामिल करती है। इन फ़ंक्शनों का उपयोग करने के लिए, हम #include निर्देश का उपयोग करते हैं, जैसे #include <math.h>। इससे कंपाइलर को गणितीय फ़ंक्शनों को पहचानने और कंपाइलेशन के दौरान उन्हें जोड़ने में मदद मिलती है। इसलिए, Math.h एक हेडर फ़ाइल है, न कि डेटा प्रकार या फ़ंक्शन।