Given an array declaration of int anArray[1000], which of the following would be a valid heading for a method that sends the array in as a parameter?
A. void DisplayContents(int anArray)
B. void DisplayContents(int anArray[])
C. void DisplayContents(int [ ] anArray)
D. void DisplayContents(anArray[1000])
Answer: C
Computer Science & Information Technology
You might also like to view...
Which of the following is an example of a secondary storage device?
A) a hard disk drive B) a USB flash drive C) a CD D) a DVD E) all of the above
Computer Science & Information Technology
Gantt and PERT are types of ______ used to plan and schedule time relationships among project activities.
A. apps B. charts C. deliverables D. documents
Computer Science & Information Technology