• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • 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 Antwoord
0
look here it explain a lot https://stackoverflow.com/a/119134
16th Oct 2019, 7:03 AM
Taste
Taste - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
debate which is better
6 Votes
Im confused was that seriously it
0 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
Is anyone else having this issue?
2 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Arduino
2 Votes
how to view only application
0 Votes
Scraping
0 Votes