Quiz
C++ storage classes and memory: code bloat, realloc and free
Fragen in diesem Quiz (5)
1How does code-bloating occur in C++?
- A Improper use of Inline functions and templates may lead to code bloating.
- BMakes cats fly
2Differentiate between realloc() and free()
- 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.
- BMultiple Inheritance may also lead to code bloating
3Explain following storage classes in C++
- AAuto: This is the default storage class.
- BAuto: It must be chosen to become the default storage class.
4Following are the object oriented programming languagе
- AJAVA
- BSmall talk
5A property which is not true for classes is that they
- Aare removed from memory when not in use
- Bimplicitly points to an object
Informationen
- Beschreibung
- Quiz am Ohne Titel, erstellt von imersion am 29/04/2015.
- Autor
- imersion
- Sprache
- English
- Aufrufe
- 0
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz