361 Question 361 EN + हिं GB The output of: int n=256; cout<<__builtin_ctz(n); IN इसका आउटपुट: int n=256; अदालत A 8 8 B 256 256 C 1 1 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 256=100000000; 8 trailing zeros. व्याख्या (हिन्दी) 256=1000000000; 8 अनुगामी शून्य. 🎯 Exam Perspective Data Structures and Algorithms ("Introduction to DSA" sub-topic) से जुड़ा यह सवाल उन students के लिए काम का है जो SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions The output of: int a=5,b=10; if(a>b) swap(a,b); cout What is the output: vector v={3,1,4,1,5,9,2,6}; sort(v.... The output of: int arr[]={1,2,3,4,5}; partial_sort(arr,... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
362 Question 362 EN + हिं GB What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2}); cout< IN आउटपुट क्या है: ऑटो [एमएन,एमएक्स]=मिनमैक्स({5,3,8,1,9,2}); अदालत A 1 9 1 9 B 5 9 5 9 C 1 5 1 5 D 3 8 3 8 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) minmax with structured binding: min=1, max=9. व्याख्या (हिन्दी) संरचित बाइंडिंग के साथ न्यूनतम अधिकतम: न्यूनतम=1, अधिकतम=9। 🎯 Exam Perspective SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में Data Structures and Algorithms ("Introduction to DSA" sub-topic) से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions The output of: int arr[]={1,2,3,4,5}; partial_sort(arr,... The output of: vector v={1,2,3,4,5}; auto res=adjacent_... The output of: vector v={1,2,3,2,1}; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
363 Question 363 EN + हिं GB The output of: vector v={2,3,5,7,11}; cout< IN का आउटपुट: वेक्टर v={2,3,5,7,11}; अदालत A 2 2 B 5 5 C 11 11 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) v.end()[-1] accesses last element = 11. व्याख्या (हिन्दी) v.end()[-1] अंतिम तत्व = 11 तक पहुँचता है। 🎯 Exam Perspective अगर आप UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं, तो Data Structures and Algorithms ("Introduction to DSA" sub-topic) का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions What is the output: vector v={3,1,4,1,5,9,2,6}; sort(v.... The output of: int n=256; cout The output of: vector v={1,2,3,2,1}; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
364 Question 364 EN + हिं GB The output of: string s="abcde"; cout< IN इसका आउटपुट: स्ट्रिंग s='abcde'; अदालत A cde सीडीई B abc एबीसी C bcd बीसीडी D ede ede ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) size=5, size-3=2; substr from index 2 = "cde". व्याख्या (हिन्दी) आकार=5, आकार-3=2; इंडेक्स 2 से सबस्ट्र = "सीडीई"। 🎯 Exam Perspective Data Structures and Algorithms ("Introduction to DSA" sub-topic) के इस प्रश्न को कई प्रतियोगी परीक्षाओं जैसे Railway, SSC, Banking और Defence परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions The output of: vector v={2,3,5,7,11}; cout The output of: int arr[5]={10,20,30,40,50}; auto [mn,mx... The output of: int arr[5]={1,2,3,4,5}; reverse(arr,arr+... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
365 Question 365 EN + हिं GB The output of: string s="Hello, World!"; cout< IN इसका आउटपुट: स्ट्रिंग s='हैलो, वर्ल्ड!'; अदालत A 10 10 B 2 2 C 3 3 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) rfind finds last occurrence of "l" at index 10. व्याख्या (हिन्दी) rfind को सूचकांक 10 पर "l" की अंतिम घटना मिलती है। 🎯 Exam Perspective यह सवाल Data Structures and Algorithms ("Introduction to DSA" sub-topic) category का है, और SSC, Railway, Banking और State PCS के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions The output of: vector v={1,2,3,4,5}; auto res=adjacent_... The output of: int a=5,b=10; if(a>b) swap(a,b); cout The output of: vector v={1,2,3,2,1}; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
366 Question 366 EN + हिं GB The output of: int arr[]={1,2,3,4,5}; partial_sort(arr,arr+3,arr+5); cout< IN इसका आउटपुट: int arr[]={1,2,3,4,5}; आंशिक_सॉर्ट(arr,arr+3,arr+5); अदालत A 123 123 B 345 345 C 135 135 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) partial_sort: smallest 3 sorted = 1,2,3. व्याख्या (हिन्दी) आंशिक_सॉर्ट: सबसे छोटा 3 क्रमबद्ध = 1,2,3। 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms ("Introduction to DSA" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions The output of: int a=5,b=10; if(a>b) swap(a,b); cout What is the output: vector v={3,1,4,1,5,9,2,6}; sort(v.... The output of: vector v={2,3,5,7,11}; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
367 Question 367 EN + हिं GB The output of: int arr[]={5,1,4,2,8}; nth_element(arr,arr+2,arr+5); cout< IN इसका आउटपुट: int arr[]={5,1,4,2,8}; nth_element(arr,arr+2,arr+5); अदालत A 4 4 B 5 5 C 2 2 D 8 8 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 3rd smallest (index 2) of {5,1,4,2,8} = 4. व्याख्या (हिन्दी) {5,1,4,2,8} का तीसरा सबसे छोटा (सूचकांक 2) = 4। 🎯 Exam Perspective Data Structures and Algorithms ("Introduction to DSA" sub-topic) से जुड़ा यह सवाल उन students के लिए काम का है जो UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions The output of: int a=5,b=10; if(a>b) swap(a,b); cout What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... The output of: vector v={1,2,3,4,5}; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
368 Question 368 EN + हिं GB The output of: vector v={1,2,3,4,5}; auto res=adjacent_find(v.begin(),v.end(),[](int a,int b){return b==a+2;}); cout<<*res; IN का आउटपुट: वेक्टर v={1,2,3,4,5}; auto res=adjacent_find(v.begin(),v.end(),[](int a,int b){return b==a+2;}); अदालत A 1 1 B 3 3 C 4 4 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Adjacent where b=a+2: (3) at index 0; *res=1. व्याख्या (हिन्दी) आसन्न जहां b=a+2: (3) सूचकांक 0 पर; *res=1. 🎯 Exam Perspective Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में Data Structures and Algorithms ("Introduction to DSA" sub-topic) से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... The output of: string s="Hello, World!"; cout The output of: vector v={1,2,3,4,5}; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
369 Question 369 EN + हिं GB The output of: vector v={1,2,3,2,1}; cout<(v.rbegin(),v.rend())) cout<<"Yes"; else cout<<"No"; IN का आउटपुट: वेक्टर v={1,2,3,2,1}; अदालत A Yes हाँ B No नहीं C Error गलती D Palindrome विलोमपद ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Reversed {1,2,3,2,1} equals original; palindrome. व्याख्या (हिन्दी) उलटा {1,2,3,2,1} मूल के बराबर है; पलिंड्रोम. 🎯 Exam Perspective अगर आप SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं, तो Data Structures and Algorithms ("Introduction to DSA" sub-topic) का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions The output of: string s="abcde"; cout The output of: vector v={1,2,3,4,5}; transform(v.begin(... The output of: int arr[5]={10,20,30,40,50}; auto [mn,mx... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
370 Question 370 EN + हिं GB The output of: int arr[5]={1,2,3,4,5}; reverse(arr,arr+5); cout< IN इसका आउटपुट: int arr[5]={1,2,3,4,5}; reverse(arr,arr+5); अदालत A 51 51 B 15 15 C 11 11 D 55 55 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Reversed: arr[0]=5, arr[4]=1. व्याख्या (हिन्दी) उलटा: arr[0]=5, arr[4]=1. 🎯 Exam Perspective Data Structures and Algorithms ("Introduction to DSA" sub-topic) के इस प्रश्न को कई प्रतियोगी परीक्षाओं जैसे SSC CGL, IBPS, RRB और State-level परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions The output of: int n=256; cout What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... What is the output: vector v={3,1,4,1,5,9,2,6}; sort(v.... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
371 Question 371 EN + हिं GB What is the output: vector v={3,1,4,1,5,9,2,6}; sort(v.begin(),v.end()); cout<<*(lower_bound(v.begin(),v.end(),5)); IN आउटपुट क्या है: वेक्टर v={3,1,4,1,5,9,2,6}; क्रमबद्ध करें (v.begin(),v.end()); अदालत A 4 4 B 5 5 C 6 6 D 9 9 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Sorted: {1,1,2,3,4,5,6,9}; lower_bound(5) points to 5. व्याख्या (हिन्दी) क्रमबद्ध: {1,1,2,3,4,5,6,9}; लोअर_बाउंड(5) 5 को इंगित करता है। 🎯 Exam Perspective यह सवाल Data Structures and Algorithms ("Introduction to DSA" sub-topic) category का है, और UPSC, SSC, Banking और Police भर्ती के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions The output of: vector v={1,2,3,4,5}; transform(v.begin(... The output of: int a=5,b=10; if(a>b) swap(a,b); cout What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
372 Question 372 EN + हिं GB The output of: int a=5,b=10; if(a>b) swap(a,b); cout< IN का आउटपुट: int a=5,b=10; अगर(ए>बी) स्वैप(ए,बी); अदालत A 5 10 5 10 B 10 5 10 5 C 5 5 5 5 D 10 10 10 10 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 5>10 is false; no swap; a=5, b=10. व्याख्या (हिन्दी) 5>10 गलत है; कोई अदला-बदली नहीं; ए=5, बी=10. 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms ("Introduction to DSA" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions The output of: vector v={1,2,3,4,5}; transform(v.begin(... The output of: vector v={1,2,3,2,1}; cout The output of: int arr[5]={10,20,30,40,50}; auto [mn,mx... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
373 Question 373 EN + हिं GB The output of: vector v={1,2,3,4,5}; transform(v.begin(),v.end(),v.begin(),[](int x){return x*x;}); cout< IN का आउटपुट: वेक्टर v={1,2,3,4,5}; ट्रांसफ़ॉर्म(v.begin(),v.end(),v.begin(),[](int x){रिटर्न x*x;}); अदालत A 5 5 B 25 25 C 20 20 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 5^2=25. व्याख्या (हिन्दी) 5^2=25. 🎯 Exam Perspective Data Structures and Algorithms ("Introduction to DSA" sub-topic) से जुड़ा यह सवाल उन students के लिए काम का है जो SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions The output of: int arr[5]={10,20,30,40,50}; auto [mn,mx... The output of: vector v={2,3,5,7,11}; cout The output of: vector v={1,2,3,4,5}; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
374 Question 374 EN + हिं GB The output of: int arr[5]={10,20,30,40,50}; auto [mn,mx]=minmax_element(arr,arr+5); cout<<*mn<<" "<<*mx; IN इसका आउटपुट: int arr[5]={10,20,30,40,50}; ऑटो [mn,mx]=minmax_element(arr,arr+5); अदालत A 10 50 10 50 B 50 10 50 10 C 20 40 20 40 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) min=10, max=50. व्याख्या (हिन्दी) न्यूनतम=10, अधिकतम=50। 🎯 Exam Perspective SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में Data Structures and Algorithms ("Introduction to DSA" sub-topic) से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions The output of: vector v={1,2,3,4,5}; auto res=adjacent_... The output of: vector v={1,2,3,2,1}; cout What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
375 Question 375 EN + हिं GB The output of: vector v={1,2,3,4,5}; cout<()); IN का आउटपुट: वेक्टर v={1,2,3,4,5}; अदालत A 120 120 B 15 15 C 5 5 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 1*1*2*3*4*5=120. व्याख्या (हिन्दी) 1*1*2*3*4*5=120. 🎯 Exam Perspective अगर आप UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं, तो Data Structures and Algorithms ("Introduction to DSA" sub-topic) का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions The output of: string s="abcde"; cout The output of: int n=256; cout The output of: vector v={1,2,3,4,5}; transform(v.begin(... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)