Which statement will generate random numbers between 0 and 12?

A. rand(12)
B. srand(12)
C. rand()%13
D. srand()%13

C

Computer Science & Information Technology

You might also like to view...

Which of the following cable types have a maximum recommended cable length of 100 meters (328 feet)?

A. Coaxial B. Ethernet C. Serial D. Fiber

Computer Science & Information Technology

Briefly explain the procedure followed for setting the page size.?

What will be an ideal response?

Computer Science & Information Technology