(Choose 1 answer)
#include <stdlib.h>#include <stdio.h>
int main () {
int i, n, a = 10, b = 20;for (i = 0; i < 10; i++) { n = a + rand() % (b + 1-a);printf("%d", n);}
return 0;}
Choose one right statement about the output of the above program?
A. The above program prints 10 pseudo-random integers between 10 and 20 inclusively.
B. The above program prints 10 pseudo-random integers between 11 and 19 inclusively.
C. The above program prints 10 pseudo-random integers between 9 and 21 inclusively.
Q: 11