Solved

Assume This Code Fragment Is Embedded in an Otherwise Correct

Question 15

Multiple Choice

Assume this code fragment is embedded in an otherwise correct and complete program.What should be the output from this code segment? {
For( int i = 0;i < 10;i++)
{
) ..
}
Cout << i << endl;
}


A) 10
B) 9
C) 0
D) The variable i is undefined in this scope,so this should not compile

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions