?
Predict the output of the following code.
Predict the output of the following code.
#include <stdlib.h>
int main()
{
srand(0);
printf("%d\n", rand()%50);
return 0;
}
#include <stdlib.h>
int main()
{
srand(0);
printf("%d\n", rand()%50);
return 0;
}
Join the Discussion
Login to post a comment or share your explanation.
Login