Most programming languages use a statement similar to the following to declare a three-element array and assign values to it: ____

A. {20, 30, 40} = num someVals[3]
B. num someVals[3] = {someVals}
C. num someVals[] = 20, 30, 40
D. num someVals[3] = 20, 30, 40


Answer: D

Computer Science & Information Technology

You might also like to view...

What is the output from print "Hi" + "there"? Why do you get this output?

What will be an ideal response?

Computer Science & Information Technology

The Internet address 128.0.0.1 is also known as __________.

a. localhost. b. remotehost. c. localserver. d. remoteserver.

Computer Science & Information Technology

Which of the following provides several levels of protection and causes users to operate in a limited mode that prevents actions that might be detrimental to system security?

a. Secure Startup b. User Account Control c. Credential Manager d. BitLocker

Computer Science & Information Technology

The minimal allowable margin settings depend on your _______.

A. printer B. columns C. sections D. orientation

Computer Science & Information Technology