Problem 2: Find the result
Find the Output of the following code:
for ( i = 1 , j = 1 ; i <= 3 ; i ++ , j ++ )
{
cout << “
i = “ << i ;
cout <<
“ j = “ << j ;
cout<<endl;
}
please enter the Output in the comment section
Find the Output of the following code:
for ( i = 1 , j = 1 ; i <= 3 ; i ++ , j ++ )
{
cout << “
i = “ << i ;
cout <<
“ j = “ << j ;
cout<<endl;
}
please enter the Output in the comment section
i=1,2,3.
ReplyDeletej=1,2,3.
correct
Delete