Home > OS >  Local variables are assigned in the Linux
Local variables are assigned in the Linux

Time:11-24

This program to define a than b, according to the stack from high to low distribution, a address should not be higher than b, why b at high address instead?

CodePudding user response:

Should be carried out some optimization, just like the memory alignment, can be inserted between two int variable a char variable and output address see again,

CodePudding user response:

reference 1st floor prodigy I reply:
should be carried out some optimization, just like the memory alignment, can be inserted between two int variable, a char variable output address again see,

Thank you, I found that to output a, b address printf statements are normal, also don't know why,,
  • Related