The ____ function can be used to generate a random number in C.

A. rand()
B. srand()
C. random()
D. rnd()


Answer: A

Computer Science & Information Technology

You might also like to view...

Which statement correctly opens an input stream named in_file and attaches it to a file name project.txt?

a. in_file=project.txt b. in_file="project.txt" c. in_file.open("project.txt"); d. in_file.open(project.txt);

Computer Science & Information Technology

The ____________________ DTD is used for documents containing frames.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Outline pane is the best view to use for rearranging slides

Indicate whether the statement is true or false

Computer Science & Information Technology

Comparison operators can compare two values — either values in cells to a given value or values in other cells

Indicate whether the statement is true or false

Computer Science & Information Technology