1.

Explain The Term Memory Alignment?

Answer»

The primary meaning of the term alignment is to maintain the appropriate positioning of different components in the memory with respect to each other. In C++, there is a requirement of setting of various OBJECTS and VARIABLES in a particular way in the system's memory.Therefore, many data variables are aligned automatically by the COMPILER ACCORDING to their processor and TYPE.

The primary meaning of the term alignment is to maintain the appropriate positioning of different components in the memory with respect to each other. In C++, there is a requirement of setting of various objects and variables in a particular way in the system's memory.Therefore, many data variables are aligned automatically by the compiler according to their processor and type.



Discussion

No Comment Found