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...

When you use the ____________ in a Select statement, only the rows that meet the search criteria are returned.

a. Ask keyword b. Where clause c. ? operator d. Find expression

Computer Science & Information Technology

A popular design element is the inline-block, which consists of an enlarged initial letter in a body of text that drops down into the text body.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which query is used to list a unique value for V_CODE, where the list will produce only a list of those values that are different from one another?

a. SELECT ONLY V_CODE FROM PRODUCT; b. SELECT UNIQUE V_CODE FROM PRODUCT; c. SELECT DIFFERENT V_CODE FROM PRODUCT; d. SELECT DISTINCT V_CODE FROM PRODUCT;

Computer Science & Information Technology

A UNION combines two of these.

a. SELECT clause b. SELECT statement c. SELECT expression

Computer Science & Information Technology