In the below C program, every time program is run different numbers are generated. [code] #include <stdio.h> #include <stdlib.h>

thanhthao

New member
In the below C program, every time program is run different numbers are generated.
Code:
    #include <stdio.h>
    #include <stdlib.h>
    int main()
    {
        printf("%d\n", rand());
        return 0;
    }
A. True
B. False
C. Depends on the platform
D. Depends on the compiler
 

Tìm kiếm

Back
Top