Vidyalelo
C Programming · Q269

File Input Output

Programming · C Programming · question 269

Q269

What will be the output of the following C code? #include int main() printf("%d ", srand(9000)); return 0;

A.
Compile time error
Answer
B.
An integer in the range 0 to 9000
C.
A float in the range 0 to 1
D.
A double in the range 0 to 9000

Answer: Option A

Solution

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