What is the sequence of event(s) when allocating memory using new operator?

(A) What is the sequence of event(s) when allocating memory using new operator?
(B) Only constructor is called for objects
(C) Memory is allocated first before calling constructor
(D) Constructor is called first before allocating memory

Related Posts 👇

  • Choose the correct statement:

    (A) step wise refinement uses top down methodology
    (B) step wise refinement uses bottom down methodology
    (C) use of library routines facilitate bottom up methodology
    (D) both a and c above

  • FORTRON does not permit recurision because:

    (A) it uses stating allocation for storing variables
    (B) it uses dynamic allocation for storing variables
    (C) stacks are not available in all machines
    (D) it is not possible to implement recursion in all machines

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!