Home » C Programming » C-Library-Functions » Question
  1. In the below program everytime program is run different numbers are generated.
    #include <stdio.h>
    #include <stdlib.h>
    int main()
    {
    printf("%d\n", rand());
    return 0;
    }
    1. Depends on the platform
    2. True
    3. False
    4. Depends on the compiler
    5. None of these
Correct Option: C

False



Your comments will be displayed only after manual approval.