What is the output of the following code fragment?

int x=0;
{
int x=13;
cout << x <<",";
}
cout << x << endl;

a. 13,13
b. 0,13
c. 13,0
d. nothing, there is a syntax error.


c. 13,0

Computer Science & Information Technology

You might also like to view...

?The pages on a university's website are maintained by individual departments and organizational units. It is a useful policy to require that every change a user makes to his department pages be reviewed and approved.  

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

Computer Science & Information Technology

When choosing a chart ________, make sure it complements the chart data and is easy to read

Fill in the blank(s) with correct word

Computer Science & Information Technology

The IP command-line command to determine the number of hops it takes to get from your computer to its destination is ping

Indicate whether the statement is true or false.

Computer Science & Information Technology

COGNITIVE ASSESSMENT What does a mobile strategist do for work?

A. converts the system design into the appropriate application development language B. integrates and expands the company's initiatives for mobile users C. develops and directs an organization's mobile strategy D. designs mobile games

Computer Science & Information Technology