Computer Science, asked by fisafathima7, 1 month ago

how do you allocate and deallocate memory dynamically​

Answers

Answered by krsankar659
1

Answer:

Jawaharlal Nehru (also referred to as Pandit Nehru) (November 14, 1889 - May 27, 1964) was the first prime minister of India for 17 years immediately after 1947, when India became independent. He was born in Prayagraj, Uttar Pradesh, India. He died of a heart attack in New Delhi.

Parents: Pandit Motilal Nehru; Swaruprani Thussu

Born: 14 November 1889; Allahabad, North-Western Provinces, British India; (prese...

Spouse(s): Kamala Nehru; (m. 1916; died 1936)

Answered by AdityaRohan
4

Answer:

When a class object is composed of other class objects, the destructor of the container class object is invoked first. After this the destructors of the component objects are invoked in the opposite order in which they were constructed.

Explanation:

ok please mark a brainliest and follow please

Similar questions