• Corsi
  • Compilatore di codice
  • Discuti
  • Prezzi
  • Squadre
Menu
0

Why this code give the size of struct emp 16 , why not 14..???

https://code.sololearn.com/cn9Uhr0pWxs0/?ref=app

predefined-variablessizeofc
12th Aug 2020, 10:53 AM
Saumya Mishra
Saumya Mishra - avatar
2 Risposte
+ 1
This might explain it https://www.geeksforgeeks.org/is-sizeof-for-a-struct-equal-to-the-sum-of-sizeof-of-each-member/amp/
12th Aug 2020, 11:11 AM
Abhay
Abhay - avatar
+ 1
Abhay thanks
12th Aug 2020, 11:15 AM
Saumya Mishra
Saumya Mishra - avatar

Hai spesso domande come questa?

Impara in modo più efficiente, gratuitamente:

  • Introduzione a Python

    7,1M studenti

  • Introduzione a Java

    4,7M studenti

  • Introduzione a C

    1,5M studenti

  • Introduzione a HTML

    7,5M studenti

Vedi tutti i corsi
Popolare oggi
debate which is better
5 Votes
Cource
1 Votes
Im confused was that seriously it
0 Votes
Text editor
0 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Is anyone else having this issue?
2 Votes
Debugging issue?
0 Votes
Arduino
2 Votes
how to view only application
0 Votes
Scraping
0 Votes