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)
Predict the output of the following code. #include <stdlib.h> int main() { srand(0); printf("%d\n", rand()
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Predict the output of the following code. #include <stdlib.h> int main() { srand(0); printf("%d\n", rand()
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!