Q278
What will be the output of the following C++ code? #include #include #include int main () srand (time(NULL)); printf ("Random number: %d ", rand() % 100); srand (1); return 0;
A.
12
B.
23
C.
33
D.
Any number from 0 to 99
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board