Q&A Discussions
i=1; --i*++i*++i*++i=?
1 Vote
7 AnswersIf i=1; i<=5++i
-1 Vote
5 AnswersI=1; i=++i+i++;
1 Vote
1 AnswerIn the code below the output is 2. This code is used in a challenge and I get an error when I select the answer 2. It accepts as correct the answer 1 which I believe is wrong. If you agree please thumbs up.
If you find any other errors please post them here!
#include <iostream>
using namespace std;
int main()
{
for(int i=1; i>=1; i++) {
if(i<1 || i>1){
cout << i;
break;
}
}
return 0;
}
8 Votes
8 AnswersHot today
Test Case 3 & 4 Failed.
1 Votes
New Courses
0 Votes
Input emojis and stickers
0 Votes
what course should I take first
0 Votes
đ
1 Votes
Any suggestion?
0 Votes