NPTEL Programming in Modern C++ Week 12 Assignment Answers 2024

NPTEL Programming in Modern C++ Week 12 Assignment Answers 2024

1. Which of the following smart pointers has/have shared ownership policy?

a) std: : auto-ptr (C++03)
b) std::weak_ptr (C++11)
c) std: : unique-ptr(C++11)
d) std: :shared-ptr (C++11)

Answer :- 

2.

Answer :- 

3.

Answer :- 

4.

Answer :- 

5.

Answer :- 

6.

Answer :- 

7.

Answer :- 

8.

Answer :- 

9.

Answer :- 

Leave a Comment