Home » C Programming » C-Library-Functions » Question
  1. Which of the following snippet will effectively generate random numbers?
    1. rand(10);
    2. rand(time(NULL));
    3. rand();
    4. All of above
    5. None of these
Correct Option: C

rand();



Your comments will be displayed only after manual approval.