Which of the following prints the address of character string string given the following declaration? char * string = "test";

a. cout << string;
b. cout << *&string;
c. cout << static_cast< void * >( string );
d. cout << * string;


c. cout << static_cast< void * >( string );

Computer Science & Information Technology

You might also like to view...

The of a Sub procedure are vehicles for passing numbers and strings to the Sub procedure.

(A) calling statements (B) arguments (C) parameters (D) variables declared inside

Computer Science & Information Technology

Writer provides three quick and easy ways to select paragraphs

Indicate whether the statement is true or false

Computer Science & Information Technology

The symbols that commonly precede a bulleted list are selected from ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 11-1Luca is the database administrator for a city parks and recreation department.  The department routinely uses community college interns to process applications and registration for the department's programs. It is important that the user interface minimize user input errors as much as possible. Because the event procedure that Luca is coding will only be used for the Participant Information form, the procedure is a(n) ____ procedure.

A. private B. public C. remote D. shared

Computer Science & Information Technology