1.

RAND_MAX macro is the maximum value returned by the rand function.(a) true(b) falseThis question was posed to me in quiz.Question is taken from General Utilities in chapter C Library of C

Answer»

Correct answer is (a) true

Easiest explanation - RAND_MAX is the macro which EXPANDS to an INTEGRAL constant EXPRESSION, the value of which is the maximum value RETURNED by the rand function.



Discussion

No Comment Found

Related InterviewSolutions