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

As the total loan balance decreases, a(n) ________ proportion is applied to interest and a greater proportion to principal

Fill in the blank(s) with correct word

Computer Science & Information Technology

The location within which a defined name is recognized without qualification is referred to as the ________

A) table array B) formula C) scope D) cell range

Computer Science & Information Technology