46
GB
What is the output: deque d; for(int i=1;i<=5;i++) d.push_front(i); cout<
IN
आउटपुट क्या है: डेक डी; for(int i=1;i
A
51
51
B
15
15
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
d={5,4,3,2,1}. d[0]=5,d[4]=1. Output: 51.
व्याख्या (हिन्दी)
d={5,4,3,2,1}. d[0]=5,d[4]=1. आउटपुट: 51.