Question: Which of the following snippet will effectively generate random numbers?

Options

A : rand();

B : rand(10);

C : rand(time(NULL));

D : all of the mentioned

Click to view Correct Answer

Previous || Next

C Programming Random Number Generation 1 more questions

Off-flavor to milk due to fly spray, paint, kerosene or....

Off-flavors are detected in milk when cows eat obnoxious weeds.....

Milk with an Acid Degree Value (ADV) of 1.0 or....

Which of these is a correct way to generate numbers....

Which among the following is correct function call for rand()....

Which is the best way to generate numbers between 0....

The output of an information source is

Collection of exchangeable binary outcomes for the same covariate data....

_________ errors are small unavoidable fluctuation.

Noise is _____ in nature.

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Programming Pointers Vs Multi Dimensional Arrays 2

C Programming Questions And Answers Structures Functions

C Programming Questions Goto Labels

C Programming Questions Macro Substitution

C Programming Questions Static Variables

C Programming Self Referential Structures 1

C Programming Sizeof Keyword 1

C Programming Sizeof Keyword 2

C Programming Storage Management 1

C Programming String Operations