76
GB
What is the output: auto del=[](int *p){delete p; cout<<'D';}; unique_ptr p(new int(5),del); cout<<*p;
IN
आउटपुट क्या है: auto del=[](int *p){delete p; अदालत
A
5D
5D
B
D5
डी5
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
*p=5; at destruction: D. Output: 5D.
व्याख्या (हिन्दी)
*पी=5; विनाश पर: डी. आउटपुट: 5डी.