Math.h is a —

2019

Math.h is a —

  1. A.

    Derived data type

  2. B.

    Function

  3. C.

    Header file

  4. D.

    Built-in data type

  5. 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 एक हेडर फ़ाइल है, न कि डेटा प्रकार या फ़ंक्शन।

Explore the full course: Bpsc