If a function has the following prototype "int cmpYear (void* pYear1, void* pYear2);", what is the appropriate way to create a list that uses this function to compare the data nodes?

A. list = createList (cmpYear*);
B. list = createList (&cmpYear);
C. list = createList (*cmpYear);
D. list = createList (cmpYear);


Answer: D

Computer Science & Information Technology

You might also like to view...

The static method ________ of class String returns a formatted String.

a. printf. b. format. c. formatString. d. toFormatedString.

Computer Science & Information Technology

Write a method to rotate a picture to the right by 180 degrees.

What will be an ideal response?

Computer Science & Information Technology

________ is the process of translating a task into a series of commands that a computer will use to perform the task

A) Analyzing B) Programming C) Diagramming D) Debugging

Computer Science & Information Technology

Study the user interface in Visible Analyst or another CASE tool, consider the guidelines described in this chapter, and prepare a detailed recommendation for interface design changes, if any. Be sure to explain your reasons, and the results you hope to achieve.

What will be an ideal response?

Computer Science & Information Technology