MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h>#include <stdlib.h> int main() { printf("%d n", rand() % 500); return 0; } |
| A. | 500 |
| B. | Compilation Error |
| C. | Garbage value |
| D. | An integer between 0-499 including 0 and 499 |
| E. | None of these |
| Answer» E. None of these | |