91
GB
What is the output: int a[]={1,2,3,4,5}; int n=remove_if(a,a+5,[](int x){return x%2==0;})-a; cout<
IN
आउटपुट क्या है: int a[]={1,2,3,4,5}; int n=remove_if(a,a+5,[](int x){return x%2==0;})-a; अदालत
A
3
3
B
2
2
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Removes 2,4. Remaining: 1,3,5 = 3. Output: 3.
व्याख्या (हिन्दी)
2,4 को हटाता है। शेष: 1,3,5 = 3. आउटपुट: 3.