Question { 10066 }
what is strcture
i++ i ++i answer to this i=5 what is the out put
Answer
My answer is
1.
#include
using namespace std;
int main()
{
int i = 5;
cout << ++i << i << i++ << endl;
return 0;
}
ANS:765
2.
#include
using namespace std;
int main()
{
int i = 5;
cout << ++i ;
cout << i ;
cout << i++ << endl;
return 0;
}
ANS:666