• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
0

struct node{ int x; node* n} int main(){ cout<<sizeof(node) };

Why is the output 16 https://code.sololearn.com/cBEKPDcmoiWm/?ref=app https://code.sololearn.com/cDuKz66o0J7v/?ref=app https://code.sololearn.com/cVeFknb9tGAH/?ref=app

sizeof
16th Oct 2019, 6:34 AM
Jude Kwofie
Jude Kwofie - avatar
1 Respuesta
0
look here it explain a lot https://stackoverflow.com/a/119134
16th Oct 2019, 7:03 AM
Taste
Taste - 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
generic programming understanding memory ownership
0 Votes
overloading operators << >>
1 Votes
I dont now that how to do js
2 Votes
Default constructor and default assignment operator
0 Votes
How to start in web dev?
0 Votes
Wishkit alternative for android
1 Votes
Hi
0 Votes
Issue in code
0 Votes
My question is about python?
0 Votes
i need to learn Coding
0 Votes