• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
+ 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 Respuesta
+ 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

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Is this realistic enough?
1 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Need friends
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
I am a beginner, please teach me how to use Python
0 Votes
Python
1 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
How do you print inputs
0 Votes
Can someone please explain python for me
0 Votes