Page 1 of 1

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
by answerhappygod
a) compilation error
b) random number between 0 to RAND_MAX
c) cannot be predicted
d) 0