Courses
Log inStart Learning AI
Courses
Log inStart Learning AI
+ 1

Who can explain it? In C++

Inside of int main() this code int mat [2][2]={{1,2}{3,5}}; cout<<1[matt[2]]; //Answer is 5 But HOW?

c++arraysarraylist
8th Apr 2020, 1:27 PM
Ulugbek Bakhromov
Ulugbek Bakhromov - avatar
1 Answer
+ 2
https://www.sololearn.com/Discuss/2202529/solved-weird-int-array-or-int-t-operation
8th Apr 2020, 1:33 PM
MO ELomari
MO ELomari - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
How many time I can use sololearn trial mode?
1 Votes
ĐžŃˆĐžĐ±Đșа ĐČ ĐżŃ€ĐžĐ»ĐŸĐ¶Đ”ĐœĐžĐž Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Hello guys,
1 Votes
Sololearn course
1 Votes
solo learn program issue - iPhone?
1 Votes
Python
0 Votes
Bug sur le deuxiĂšme cours de python
1 Votes