CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - 9,000 Interview Que. & Ans.
Covers 9,000+ Interview Questions asked in actual MNC Interviews - all with model answers.
Get Your Dream Job Now - www.vyoms.com
Sponsored Links
Interview Questions
Our Services

INTERVIEW QUESTIONS LANGUAGES C++ DETAILS
Question :

What is Memory alignment??

Category C++ Interview Questions
Rating (3.3) By 6 users
Added on 7/16/2015
Views 27
Rate it!
Answers:


The term alignment primarily means the tendency of an address pointer value to be a multiple
of some power of two. So a pointer with two byte alignment has a zero in the least
significant bit. And a pointer with four byte alignment has a zero in both the two least
significant bits. And so on. More alignment means a longer sequence of zero bits in the
lowest bits of a pointer.



If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification Enter the above shown code: *
    Inform me about updated answers to this question

    Related Questions
    View Answer

    When are temporary variables created by C++ compiler?
    View Answer
    When do use "const" reference arguments in function?
    View Answer

    What are storage qualifiers in C++ ?
    View Answer

    What are C++ storage classes?
    View Answer
    What is conversion constructor?
    View Answer
    What are all the implicit member functions of the class? Or what are all the functions which
    compiler implements for us if we don't define one.??
    View Answer
    When are copy constructors called?
    View Answer
    What is a Makefile?


    View Answer
    What does extern mean in a function declaration?
    View Answer
    Will it execute or not?

    C++ Interview Questions and Answers

    (Continued from previous question...)

    Will it execute or not?

    void main()
    {
    char *cptr = 0?2000;
    long *lptr = 0?2000;
    cptr++;
    lptr++;
    printf(? %x %x?, cptr, lptr);
    }Will it execute or not?


    View Answer
    How can you quickly find the number of elements stored in a a) static array b) dynamic array ?
    Why is it difficult to store linked list in an array?
    How can you find the nodes with repetetive data in a linked list?
    View Answer
    What is the difference between Mutex and Binary semaphore?

    View Answer
    What methods can be overridden in Java?
    View Answer
    What is the Standard Template Library (STL)?
    View Answer
    Can you be bale to identify between Straight- through and Cross- over cable wiring? and in what case do you use Straight- through and Cross-over?
    View Answer
    How many ways are there to initialize an int with a constant?
    View Answer
    What can I safely assume about the initial values of variables which are not explicitly initialized?

    View Answer
    What is RTTI?
    View Answer
    What are the differences between a C++ struct and C++ class?


    View Answer
    How do you link a C++ program to C functions?

    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL C++ Interview Questions & Answers

    User Options
    Latest 20 Questions
    What are the common properties Button controls used in ASP.NET?
    How to apply themes for asp.net application?
    What is the use of "HttpHandlers" in web.config ?
    What?s the difference between Linkbutton control and Hyperlink control?
    In ASP.NET how many navigation controls are there?
    List all different typesS of directives in .NET
    What are the State Management options in ASP.NET ?
    What is Global Assembly Cache ?
    What is the difference between ExecuteScalar and ExecuteNonQuery?
    What is the appSettings Section in the web.config file?
    List the major built-in objects in ASP.NET?
    What are the asp.net Security Controls?
    Explain the working of passport authentication.
    How can we apply Themes to an asp.net application?
    What are the event handlers that we can have in Global.asax file?
    Write code to send e-mail from an ASP.NET application?
    What are the different validators in ASP.NET?
    How to execute an sql query? How to fetch its result ?
    What is the difference between Session and Cookie?
    What are different types of Runtime Errors in PHP?


    Copyright ©2003-2016 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 3.625 Seconds