• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • 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 Antwort
0
look here it explain a lot https://stackoverflow.com/a/119134
16th Oct 2019, 7:03 AM
Taste
Taste - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Activities on sololearn
2 Votes
What is problem in this code
0 Votes
playground input
0 Votes
Html issue
1 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes
App development 🔥☝️
1 Votes
Playground input
0 Votes