736 Question 736 EN + हिं GB The output of: format("{:b}", 10): IN इसका आउटपुट: प्रारूप ("{:b}", 10): A 10 10 B 1010 1010 C A ए D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) {:b} formats in binary; 10=1010. व्याख्या (हिन्दी) {:b} बाइनरी में प्रारूप; 10=1010. 🎯 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: char* s="Hello"; cout The output of: format("{:o}", 8): The output of: int** p; int a[2][2]={{1,2},{3,4}}; p=ne... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
737 Question 737 EN + हिं GB The output of: format("{:x}", 255): IN इसका आउटपुट: प्रारूप ("{:x}", 255): A ff सीमांत बल B 255 255 C FF सीमांत बल D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) {:x} formats in lowercase hex; 255=ff. व्याख्या (हिन्दी) {:x} लोअरकेस हेक्स में प्रारूप; 255=एफएफ. 🎯 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: template void f(T&&x){cout The output of: vector v={1,2,3,4,5}; auto sum=ranges::f... The output of: format("{:b}", 10): 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
738 Question 738 EN + हिं GB The output of: format("{:o}", 8): IN इसका आउटपुट: प्रारूप ("{:o}", 8): A 8 8 B 10 10 C 0x8 0x8 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) {:o} formats in octal; 8=10 (octal). व्याख्या (हिन्दी) अष्टाधारी में {:o} प्रारूप; 8=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}; auto sum=ranges::f... The output of: template void f(T&&x){cout The output of: constexpr int sq(int n){return n*n;} sta... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
739 Question 739 EN + हिं GB What is the output: string s=format("Hello, {}!", "World"); cout< IN आउटपुट क्या है: स्ट्रिंग s=format('हैलो, {}!', 'वर्ल्ड'); अदालत A Hello, World! हैलो वर्ल्ड! B Hello, {}! नमस्ते, {}! C Error गलती D Hello World हैलो वर्ल्ड ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) std::format replaces {} with "World". व्याख्या (हिन्दी) std::format {} को "World" से बदल देता है। 🎯 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: format("{:b}", 10): The output of: format("{:x}", 255): The output of: char a[]="Hello"; char b[]="World"; strc... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
740 Question 740 EN + हिं GB The output of: auto r=views::iota(0,5); cout< IN इसका आउटपुट: auto r=views::iota(0,5); अदालत A 4 4 B 5 5 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) iota(0,5) generates 0,1,2,3,4; 5 elements. व्याख्या (हिन्दी) iota(0,5) 0,1,2,3,4 उत्पन्न करता है; 5 तत्व. 🎯 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: char* s="Hello"; cout The output of: char a[]="Hello"; char b[]="World"; strc... The output of: int** p; int a[2][2]={{1,2},{3,4}}; p=ne... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
741 Question 741 EN + हिं GB The output of: vector v={1,2,3,4,5}; auto sum=ranges::fold_left(v,0,plus<>{}); cout< IN का आउटपुट: वेक्टर v={1,2,3,4,5}; स्वचालित योग=श्रेणियाँ::fold_left(v,0,plus{}); अदालत A 15 15 B 10 10 C 5 5 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) fold_left: 0+1+2+3+4+5=15. व्याख्या (हिन्दी) फ़ोल्ड_लेफ्ट: 0+1+2+3+4+5=15. 🎯 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: string s=format("Hello, {}!", "Worl... The output of: char a[]="Hello"; char b[]="Hello"; cout static_assert in C++ checks: 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
742 Question 742 EN + हिं Medium GB Which C++ keyword marks a variable as thread-local storage? IN कौन सा C++ कीवर्ड एक वेरिएबल को थ्रेड-लोकल स्टोरेज के रूप में चिह्नित करता है? A static स्थिर B thread_local थ्रेड_लोकल C thread धागा D local स्थानीय ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) thread_local int x; each thread has its own x. व्याख्या (हिन्दी) थ्रेड_लोकल int x; प्रत्येक धागे का अपना x होता है। 🎯 Exam Perspective Data Structures and Algorithms ("Introduction to DSA" sub-topic) के इस प्रश्न को — difficulty level "Medium" कई प्रतियोगी परीक्षाओं जैसे Railway, SSC, Banking और Defence परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions The output of: int** p; int a[2][2]={{1,2},{3,4}}; p=ne... What is the output: int arr[3][3]={{1,2,3},{4,5,6},{7,8... The output of: char* s="Hello"; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
743 Question 743 EN + हिं GB The output of: constexpr int sq(int n){return n*n;} static_assert(sq(5)==25); cout<<"OK"; IN इसका आउटपुट: constexpr int sq(int n){return n*n;} static_assert(sq(5)==25); अदालत A Error गलती B OK ठीक है C 25 25 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) constexpr sq is evaluated at compile time; static_assert passes. व्याख्या (हिन्दी) संकलन समय पर constexpr sq का मूल्यांकन किया जाता है; static_assert पास हो जाता है। 🎯 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 sum=ranges::f... The output of: char a[]="Hello"; char b[]="World"; strc... The output of: format("{:b}", 10): 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
744 Question 744 EN + हिं Medium GB static_assert in C++ checks: IN C++ जाँच में static_assert: A Runtime assertion रनटाइम दावा B Compile-time assertion; program fails to compile if condition is false संकलन-समय का दावा; यदि स्थिति गलत है तो प्रोग्राम संकलित करने में विफल रहता है C Dynamic assertion गतिशील दावा D Memory assertion स्मृति दावा ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) static_assert(condition, "message") is a compile-time check. व्याख्या (हिन्दी) static_assert(condition, "message") एक संकलन-समय जाँच है। 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms ("Introduction to DSA" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है — difficulty level "Medium"। इस तरह के प्रश्न अक्सर SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions The output of: constexpr int sq(int n){return n*n;} sta... The output of: format("{:b}", 10): What is the output: string s=format("Hello, {}!", "Worl... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
745 Question 745 EN + हिं GB The output of: template void f(T&&x){cout<::value;} int a=5; f(a); f(5); IN इसका आउटपुट: टेम्पलेट शून्य f(T&&x){cout A 10 10 B 01 01 C 11 11 D 00 00 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) f(a): T deduced as int& (lvalue ref = 1); f(5): T deduced as int (rvalue = 0). व्याख्या (हिन्दी) f(a): T को int& के रूप में निकाला गया (lvalue Ref = 1); f(5): T को int (rvalue = 0) के रूप में निकाला गया। 🎯 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: format("{:x}", 255): The output of: char a[]="Hello"; char b[]="World"; strc... The output of: auto r=views::iota(0,5); cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
746 Question 746 EN + हिं GB What is the output: int arr[3][3]={{1,2,3},{4,5,6},{7,8,9}}; cout< IN आउटपुट क्या है: int arr[3][3]={{1,2,3},{4,5,6},{7,8,9}}; अदालत A 5 5 B 6 6 C 7 7 D 8 8 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) arr[1][2]: row 1 (second row), col 2 (third col) = 6. व्याख्या (हिन्दी) एआर[1][2]: पंक्ति 1 (दूसरी पंक्ति), कॉलम 2 (तीसरा कॉलम) = 6। 🎯 Exam Perspective Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में 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 sum=ranges::f... The output of: char* s="Hello"; cout The output of: format("{:b}", 10): 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
747 Question 747 EN + हिं GB The output of: int** p; int a[2][2]={{1,2},{3,4}}; p=new int*[2]; for(int i=0;i<2;i++) p[i]=a[i]; cout< IN का आउटपुट: int** p; int a[2][2]={{1,2},{3,4}}; पी=नया पूर्णांक*[2]; for(int i=0;i A 2 2 B 3 3 C 4 4 D 1 1 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) p[1][0] = a[1][0] = 3. व्याख्या (हिन्दी) पी[1][0] = ए[1][0] = 3. 🎯 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: format("{:x}", 255): Which C++ keyword marks a variable as thread-local stor... The output of: char* s="Hello"; cout 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
748 Question 748 EN + हिं GB The output of: char* s="Hello"; cout< IN का आउटपुट: char* s='हैलो'; अदालत A 5 5 B 6 6 C 4 4 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) strlen counts chars before null: H-e-l-l-o = 5. व्याख्या (हिन्दी) स्ट्रेलेन शून्य से पहले वर्णों की गिनती करता है: एच-ई-एल-एल-ओ = 5। 🎯 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: auto r=views::iota(0,5); cout The output of: format("{:x}", 255): Which C++ keyword marks a variable as thread-local stor... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
749 Question 749 EN + हिं GB The output of: char a[]="Hello"; char b[]="World"; strcat(a,b); cout< IN का आउटपुट: char a[]='हैलो'; चार बी[]='विश्व'; स्ट्रैटकैट(ए,बी); अदालत A Hello नमस्ते B World दुनिया C HelloWorld हैलो वर्ल्ड D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) strcat appends b to a. व्याख्या (हिन्दी) strcat b को a से जोड़ता है। 🎯 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 Which C++ keyword marks a variable as thread-local stor... The output of: format("{:o}", 8): The output of: int** p; int a[2][2]={{1,2},{3,4}}; p=ne... 📚 Related Topic Arrays (16) Linked List (25) Stack (14)
750 Question 750 EN + हिं GB The output of: char a[]="Hello"; char b[]="Hello"; cout< IN का आउटपुट: char a[]='हैलो'; चार बी[]='हैलो'; अदालत A 1 1 C -1 -1 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Identical strings; strcmp returns 0. व्याख्या (हिन्दी) समान तार; strcmp 0 लौटाता है। 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms ("Introduction to DSA" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions The output of: template void f(T&&x){cout static_assert in C++ checks: The output of: format("{:x}", 255): 📚 Related Topic Arrays (16) Linked List (25) Stack (14)