Described the order that objects in an array is destructed?, C/C++ Programming

Described the order that objects in an array is destructed?

Posted Date: 3/15/2013 5:21:28 AM | Location : United States





 

Described the order that objects in an array is destructed?

A: In the reverse order of construction: First constructed, last destructed.

In the following instance, the order for destructors shall be a[9], a[8], ..., a[1], a[0]:

void userCode()

{

Fred a[10];

...

}

 

Posted by | Posted Date: 3/15/2013 5:21:44 AM


Related Discussions:- Described the order that objects in an array is destructed?, Assignment Help, Ask Question on Described the order that objects in an array is destructed?, Get Answer, Expert's Help, Described the order that objects in an array is destructed? Discussions

Write discussion on Described the order that objects in an array is destructed?
Your posts are moderated
Related Questions

A: Memory that has no pointer pointing to it and there is no method to delete or reuse this memory(object), it causes Memory leak. { Base *b = new base(); } Out of this

Explain what are Unions? The Unions like as structures, contain members whose individual data types may perhaps differ from one another. Though the members that create a union

Write a program that counts from 0 to 99 and prints these numbers to the terminal ie it prints 00, 01, 02, 03, 04, 05, ....,99. Graphics 1. Write a program in rPeANUt that

Project Description: I want a person who will be able to program a flex PCB for my device as i meet the person i will be able to describe all my needs Skills required are C P

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b


how to make the coding

c program for boardcolouring

(a) client server or multithreaded client-server, where server will create pool of worker threads (say 5) to provide services to pool of clients (say 5 ).Server should be behaving