1.

Which among the following is correct function call for rand() and random()?(a) rand() and random();(b) rand() and random(1);(c) rand(1) and random(1);(d) rand(1) and random();I have been asked this question at a job interview.This interesting question is from Random Number Generation in portion Input and Output in C of C

Answer»

Right answer is (a) RAND() and RANDOM();

Best EXPLANATION: None.



Discussion

No Comment Found

Related InterviewSolutions