What is the output of this code?
```
int main()
{
int x;
if(x == 2)
{
cout<<”x is 2”;
}
else
{
cout<<”x is not 2”;
x = x + 5;
return 0;
}
```
A. No output.
B. x is 2
C. x is not 2
D. x is never initialized, so it won’t compile.
C. x is not 2
Computer Science & Information Technology
You might also like to view...
Data cannot be changed in Report view
Indicate whether the statement is true or false
Computer Science & Information Technology
The macro recorder records all the steps required to complete the actions you want your macro to perform except for navigation on the ________
A) worksheet B) cell C) sheet tab D) ribbon
Computer Science & Information Technology