Vidyalelo
C Programming · Q233

File Input Output

Programming · C Programming · question 233

Q233

In the following C program, every time program is run different numbers are generated. #include int main() srand(time(NULL)); printf("%d ", rand()); return 0;

A.
True
Answer
B.
False
C.
Depends on the platform
D.
Depends on the compiler

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board