Define memory alignment??, C/C++ Programming

Primarily the term alignment refers the tendency of an address pointer value to be a multiple of some power of two. Thus a pointer with two byte alignment contains a zero in the least signi_cant bit. And a pointer along with four byte alignment contains a zero in both the two least signi_cant bits. And so forth. More alignment refers a longer sequence of zero bits in lowest bits of a pointer.

 

Posted Date: 3/16/2013 3:23:12 AM | Location : United States







Related Discussions:- Define memory alignment??, Assignment Help, Ask Question on Define memory alignment??, Get Answer, Expert's Help, Define memory alignment?? Discussions

Write discussion on Define memory alignment??
Your posts are moderated
Related Questions
i have an array of structs, and am trying to make a pointer that can point to a certain struct within the array

how objects are initialized dynamically?

A: In C++ the access privileges are public, private and protected. The default access level assigned to members of a class is private. Private members of any class are accessible o


find area uder the curve y=f(x) between x=a and x=b   #include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; in


Converting Base Type to Class Type (char to string)   class String { char *name; int length; public: String(void) {length =0; name = new char[length+1];

Explain structured programming The principal idea behind structured programming was as easy as the idea of "divide and conquer." A computer program could be regarded as having

A: If you employ auto_ptr objects you would not need to be concerned along with heap objects not being deleted even if the exception is thrown.

What happens while a derived-class object is developed & destroyed? A: Space is allocated (on the heap or the stack) for the full object (i.e. adequate space to store the data m