

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following C code?#include <stdio.h>#include <stdlib.h> int main() { srand(1000); printf("%d n", rand()); return 0; } |
A. | A double in the range 0 to 1 |
B. | Compilation Error |
C. | A float in the range 0 to 1 |
D. | An integer in the range 0 to RAND_MAX |
E. | None of these |
Answer» E. None of these | |