871 Question 871 EN + हिं GB The output of: cout< IN का आउटपुट: कॉउट A 15 15 B 10 10 C 1 1 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 15 > 10 (upper bound); clamped to 10. व्याख्या (हिन्दी) 15 > 10 (ऊपरी सीमा); 10 पर जकड़ दिया गया। 🎯 Exam Perspective Data Structures and Algorithms से जुड़ा यह सवाल उन students के लिए काम का है जो SSC CGL, IBPS, RRB और State-level परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions What is the output: cout1) The output of: int x=5; cout What does x&-x compute? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
872 Question 872 EN + हिं GB The output of: cout< IN का आउटपुट: कॉउट A 1 1 B -5 -5 C 10 10 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) -5 < 1 (lower bound); clamped to 1. व्याख्या (हिन्दी) -5 <1 (निचली सीमा); 1 से जकड़ा हुआ। 🎯 Exam Perspective UPSC, SSC, Banking और Police भर्ती जैसी परीक्षाओं में Data Structures and Algorithms से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions The output of: cout The output of: cout What is the output: cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
873 Question 873 EN + हिं GB The output of: cout< IN का आउटपुट: कॉउट A 1 1 B 10 10 C 7 7 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 7 is within [1,10]; returns 7. व्याख्या (हिन्दी) 7 [1,10] के भीतर है; रिटर्न 7. 🎯 Exam Perspective अगर आप Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं, तो Data Structures and Algorithms का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions The output of: vector v={2,3,5,7,11}; cout The output of: int a=3,b=5; cout What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
874 Question 874 EN + हिं GB The output of: int a=3,b=5; cout<<(ab?a:b); IN का आउटपुट: int a=3,b=5; अदालत A 3 5 3 5 B 5 3 5 3 C 3 3 3 3 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) min(3,5)=3; max(3,5)=5. व्याख्या (हिन्दी) मिनट(3,5)=3; अधिकतम(3,5)=5. 🎯 Exam Perspective Data Structures and Algorithms के इस प्रश्न को कई प्रतियोगी परीक्षाओं जैसे SSC, Railway, Banking और State PCS में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions __builtin_ctz computes: The output of: string s="abcde"; cout The output of: cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
875 Question 875 EN + हिं GB What is the output: int n=10; int bits=0; while(n){bits+=(n&1); n>>=1;} cout< IN आउटपुट क्या है: int n=10; int बिट्स=0; जबकि(एन){बिट्स+=(एन&1); n>>=1;} कोउट A 2 2 B 3 3 C 4 4 D 1 1 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 10=1010 has 2 set bits. व्याख्या (हिन्दी) 10=1010 में 2 सेट बिट हैं। 🎯 Exam Perspective यह सवाल Data Structures and Algorithms category का है, और SSC CGL, IBPS, RRB और State-level परीक्षाओं के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... __builtin_ctz computes: The output of: cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
876 Question 876 EN + हिं GB What is the output: cout<<(17>>1)<<" "<<(17<<1); IN आउटपुट क्या है: cout1) A 8 34 8 34 B 9 34 9 34 C 8 32 8 32 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 17>>1=8 (17/2); 17<<1=34 (17*2). व्याख्या (हिन्दी) 17>>1=8 (17/2); 17 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर UPSC, SSC, Banking और Police भर्ती जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions __builtin_ctz computes: The output of: cout What does x&-x compute? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
877 Question 877 EN + हिं GB The output of: int x=5; cout<<(x&-x); IN का आउटपुट: int x=5; अदालत A 1 1 B 5 5 C -5 -5 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) x&-x extracts lowest set bit of 5(101): 1. व्याख्या (हिन्दी) x&-x 5(101): 1 का न्यूनतम सेट बिट निकालता है। 🎯 Exam Perspective Data Structures and Algorithms से जुड़ा यह सवाल उन students के लिए काम का है जो Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... The output of: int n=256; cout The output of: string s="Hello, World!"; cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
878 Question 878 EN + हिं Easy GB What does x&-x compute? IN x&-x क्या गणना करता है? A Negative of x x का ऋणात्मक B Lowest set bit of x x का न्यूनतम सेट बिट C All bits of x x के सभी बिट्स D XOR of x एक्स का एक्सओआर ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) x&-x isolates the rightmost set bit. व्याख्या (हिन्दी) x&-x सबसे दाहिने सेट बिट को अलग करता है। 🎯 Exam Perspective SSC, Railway, Banking और State PCS जैसी परीक्षाओं में Data Structures and Algorithms से सवाल अक्सर पूछे जाते हैं — difficulty level "Easy"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions The output of: int n=256; cout The output of: int a=3,b=5; cout __builtin_ctz computes: 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
879 Question 879 EN + हिं GB What is the output: cout<<(__builtin_ctz(12)); IN आउटपुट क्या है: cout A 2 2 B 3 3 C 4 4 D 1 1 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 12=1100; count trailing zeros = 2. व्याख्या (हिन्दी) 12=1100; पिछले शून्यों की गिनती = 2. 🎯 Exam Perspective अगर आप SSC CGL, IBPS, RRB और State-level परीक्षाओं की तैयारी कर रहे हैं, तो Data Structures and Algorithms का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions What does x&-x compute? The output of: int a=3,b=5; cout What is the output: cout1) 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
880 Question 880 EN + हिं Medium GB __builtin_ctz computes: IN __बिल्टिन_ctz गणना करता है: A Count total zeros कुल शून्य गिनें B Count trailing zero bits अनुगामी शून्य बिट्स की गणना करें C Count leading zeros अग्रणी शून्यों की गणना करें D Count set bits सेट बिट्स की गणना करें ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) ctz = count trailing zeros (from LSB). व्याख्या (हिन्दी) ctz = पिछले शून्यों की गिनती करें (एलएसबी से)। 🎯 Exam Perspective Data Structures and Algorithms के इस प्रश्न को — difficulty level "Medium" कई प्रतियोगी परीक्षाओं जैसे UPSC, SSC, Banking और Police भर्ती में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions The output of: vector v={2,3,5,7,11}; cout The output of: int n=256; cout What does x&-x compute? 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
881 Question 881 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 category का है, और Railway, SSC, Banking और Defence परीक्षाओं के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions The output of: int x=5; cout What is the output: int n=10; int bits=0; while(n){bits... The output of: string s="abcde"; cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
882 Question 882 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 यह प्रश्न Data Structures and Algorithms की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर SSC, Railway, Banking और State PCS जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions The output of: string s="Hello, World!"; cout The output of: cout The output of: int x=5; cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
883 Question 883 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 Data Structures and Algorithms से जुड़ा यह सवाल उन students के लिए काम का है जो SSC CGL, IBPS, RRB और State-level परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions The output of: int a=3,b=5; cout The output of: string s="Hello, World!"; cout The output of: string s="abcde"; cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
884 Question 884 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 UPSC, SSC, Banking और Police भर्ती जैसी परीक्षाओं में Data Structures and Algorithms से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions What does x&-x compute? The output of: int x=5; cout The output of: cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
885 Question 885 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 अगर आप Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं, तो Data Structures and Algorithms का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions What does x&-x compute? The output of: string s="abcde"; cout What is the output: auto [mn,mx]=minmax({5,3,8,1,9,2});... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)