Explore topic-wise MCQs in C.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your C knowledge and support exam preparation. Choose a topic below to get started.

1.

If the result overflows, the function returns the value of the macro HUGE_VAL, carrying the same sign except for the _________ function as the correct value of the function.

A. sin
B. cos
C. cosec
D. tan
Answer» E.
2.

What error occurs if an input argument is outside the domain over which the mathematical function is de ned?

A. domain error
B. range error
C. no error
D. domain and range error
Answer» B. range error