- 2
Which compiler/editor do you guys use?
7 Answers
+ 1
The code you provided prints 2 memory addresses. I fixed it to print 86 if that is what you needed.
#include <iostream>
using namespace std;
int main() {
int A[3][2] = {{3, 6}, {8, 4}, {7, 1}};
cout << A[1][0] << A[0][1] << endl;
return 0;
}
0
What do you mean?
Is your answer 86? But output is not 86 in your code..
0
Yes that's the answer in the challenge but that's not the code
0
It was in a challenge with the question I provided and the answer 86
0
Can you share the screen shot?
if you are sure, report it via options..
0
Ok
0
I copied it wrong