Which of the following header declares mathematical functions and macros?

Which of the following header declares mathematical functions and macros? mcq and its answer is provided on this page.

Function is set of rules which takes input value and provides an output according to rules.

A mathematical function is strictly related to mathematics.

To use mathematical functions in c programming you need to include header math.h.

Macro is a piece of a code that is replaced by value of macro in c program.

A macro in c programming language is created using #define directive.

Which of the following header declares mathematical functions and macros?

Que. Which of the following header declares mathematical functions and macros?
a a) math.h
b b) assert.h
c c) stdmat. h
d d) stdio. h
Answer: a
Explanation : The header file math.h declares all the mathematical functions and macros.


Comments