Once the extra bytes are added for referencing what will happen to these extra bytes while execution. Are these extra bytes empty or what data will be contained in them?
Any help on this is appriciated. Thanks!!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is unspecified behavior, meaning that the compiler may put any value there, including garbage, as long as it does so consistently for all structs. The compiler doesn’t need to document to the user how it treats the padding bytes.