output of the following c++ code with justification
.
for(i=1;k=5;++i)
{
cout<<"t"<<l;
if(i=3)
break;
}
.
Correct answer will be marked a s brainliest.......
Answers
Answered by
0
Output :
t t t
Because when the value of i becomes 3 then if condition will be satisfied and break statement will be executed and comes out of the loop.
t t t
Because when the value of i becomes 3 then if condition will be satisfied and break statement will be executed and comes out of the loop.
Similar questions