• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
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 Odpowiedź
0
look here it explain a lot https://stackoverflow.com/a/119134
16th Oct 2019, 7:03 AM
Taste
Taste - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Linking GitHub with Sololearn profile
1 Votes
Error in python
3 Votes
Am getting discourage in my Language, Help me out🙏🙏
1 Votes
Is the Coding Certificate Worth it??
3 Votes
Model Context Protocol ? What is it ?
2 Votes
Why Sololearn Removed Our Saved Private Project (Codes), I Can't Find This Option.
2 Votes
High paying job?
2 Votes
Do you Think Sololearn should add GDscript?
2 Votes
Not Accessing Message Function
0 Votes
Pls wat is the answer for dis question
0 Votes