736
GB
What is the output: int a[5]={1,2,3,4,5}; copy_if(a,a+5,ostream_iterator(cout),[](int x){return x%2!=0;});
IN
आउटपुट क्या है: int a[5]={1,2,3,4,5}; Copy_if(a,a+5,ostream_iterator(cout),[](int x){return x%2!=0;});
A
135
135
B
24
24
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Copies 1,3,5. Output: 135.
व्याख्या (हिन्दी)
प्रतिलिपियाँ 1,3,5. आउटपुट: 135.