GoConqr has a new look! Let us know what you think.

Quiz

C++ storage classes and memory: code bloat, realloc and free

imersion 5 questions

Take the quiz

Questions in this quiz (5)

  1. 1How does code-bloating occur in C++?
    1. A Improper use of Inline functions and templates may lead to code bloating.
    2. BMakes cats fly
  2. 2Differentiate between realloc() and free()
    1. AFree() - A block of memory previously allocated by the malloc subroutine is freed by free subroutine. Undefined results come out if the Pointer parameter is not a valid pointer. If the Pointer parameter is a null value, no action will take place.
    2. BMultiple Inheritance may also lead to code bloating
  3. 3Explain following storage classes in C++
    1. AAuto: This is the default storage class.
    2. BAuto: It must be chosen to become the default storage class.
  4. 4Following are the object oriented programming languagе
    1. AJAVA
    2. BSmall talk
  5. 5A property which is not true for classes is that they
    1. Aare removed from memory when not in use
    2. Bimplicitly points to an object

Information

Description
Quiz on Untitled, created by imersion on 29/04/2015.
Author
imersion
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?