Predict the output of the following code. #include <stdlib.h> int main() { srand(0); printf("%d\n", rand()
Posted: Wed Jul 13, 2022 6:16 pm
a) compilation error
b) random number between 0 to 50 (both inclusive)
c) random number between 0 to 51 (both inclusive)
d) random number between 0 to 49 (both inclusive)
b) random number between 0 to 50 (both inclusive)
c) random number between 0 to 51 (both inclusive)
d) random number between 0 to 49 (both inclusive)