961 Question 961 EN + हिं GB The output of: int x=5; auto l=coroutine_not_shown; cout< IN का आउटपुट: int x=5; ऑटो l=coroutine_not_show; अदालत A Error गलती B 5 5 C Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Without coroutine context, normal code prints 5. व्याख्या (हिन्दी) कॉरआउटिन संदर्भ के बिना, सामान्य कोड प्रिंट होता है 5। 🎯 Exam Perspective Data Structures and Algorithms से जुड़ा यह सवाल उन students के लिए काम का है जो Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions Which C++20 concept checks if type T has operator The output of: class Vec{int x,y; public: Vec(int a,int... The output of: int n=12; int sum=0; for(int i=2;i 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
962 Question 962 EN + हिं Medium GB Which C++20 concept checks if type T has operator<< for ostream? IN कौन सा C++20 कॉन्सेप्ट यह जाँचता है कि टाइप T में ऑपरेटर है या नहीं A std::printable एसटीडी::मुद्रण योग्य B Must define custom concept or use std::formattable कस्टम अवधारणा को परिभाषित करना चाहिए या std::formattable का उपयोग करना चाहिए C std::streamable std::स्ट्रीमयोग्य D std::insertable std::डालने योग्य ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) No standard concept for streamable; use requires or custom concept. व्याख्या (हिन्दी) स्ट्रीम करने योग्य के लिए कोई मानक अवधारणा नहीं; उपयोग की आवश्यकता या कस्टम अवधारणा। 🎯 Exam Perspective SSC, Railway, Banking और State PCS जैसी परीक्षाओं में Data Structures and Algorithms से सवाल अक्सर पूछे जाते हैं — difficulty level "Medium"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions The output of: class Ctr{int n=0; public: void inc(){n+... The output of: string words[]={"hello","world","foo"};... The output of: class A{public:int x; A(int x):x(x){}};... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
963 Question 963 EN + हिं GB The output of: for(int i=2;i<=20;i+=2) cout< IN का आउटपुट: for(int i=2;i A 10 10 B 11 11 C 9 9 D 20 20 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Even numbers 2,4,...,20: 10 numbers. व्याख्या (हिन्दी) सम संख्याएँ 2,4,...,20: 10 संख्याएँ। 🎯 Exam Perspective अगर आप SSC CGL, IBPS, RRB और State-level परीक्षाओं की तैयारी कर रहे हैं, तो Data Structures and Algorithms का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions The output of: class Ctr{int n=0; public: void inc(){n+... The output of: class Vec{int x,y; public: Vec(int a,int... The output of: class Box{double l,w,h; public: Box(doub... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
964 Question 964 EN + हिं GB The output of: int n=1000; for(;n>1;n/=10) cout< IN इसका आउटपुट: int n=1000; for(;n>1;n/=10) cout A 0 0 1 0 0 1 B 001 001 C 001 001 D 1 0 0 1 1 0 0 1 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) n=1000: 0; n=100: 0; n=10: 0; n=1: print 1. Outputs 001. व्याख्या (हिन्दी) n=1000: 0; n=100: 0; n=10: 0; n=1: प्रिंट 1. आउटपुट 001. 🎯 Exam Perspective Data Structures and Algorithms के इस प्रश्न को कई प्रतियोगी परीक्षाओं जैसे UPSC, SSC, Banking और Police भर्ती में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions The output of: string words[]={"hello","world","foo"};... What is the output: auto it=max_element(begin("abcZ"),e... The output of: class Box{double l,w,h; public: Box(doub... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
965 Question 965 EN + हिं GB What is the output: int arr[]={10,20,30}; for(int &x:arr) x*=2; cout< IN आउटपुट क्या है: int arr[]={10,20,30}; for(int &x:arr) x*=2; अदालत A 20 20 B 40 40 C 30 30 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Range-based for with reference doubles each; arr[1]=20*2=40. व्याख्या (हिन्दी) संदर्भ के साथ रेंज-आधारित प्रत्येक को दोगुना कर देता है; गिरफ्तार[1]=20*2=40. 🎯 Exam Perspective यह सवाल Data Structures and Algorithms category का है, और Railway, SSC, Banking और Defence परीक्षाओं के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions Which C++20 concept checks if type T has operator The output of: class Box{double l,w,h; public: Box(doub... The output of: vector v={"c","a","b"}; sort(v.begin(),v... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
966 Question 966 EN + हिं GB The output of: string words[]={"hello","world","foo"}; sort(words,words+3); cout< IN इसका आउटपुट: स्ट्रिंग शब्द[]={"हैलो","दुनिया","फू"}; सॉर्ट करें (शब्द, शब्द+3); अदालत A foo फू B hello नमस्ते C world दुनिया D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Alphabetical sort: foo < hello < world. व्याख्या (हिन्दी) वर्णमाला क्रम: फू <हैलो <दुनिया। 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर SSC, Railway, Banking और State PCS जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions The output of: for(int i=2;i What is the output: struct Pt{int x,y; Pt(int x,int y):... The output of: vector v={"c","a","b"}; sort(v.begin(),v... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
967 Question 967 EN + हिं GB The output of: vector v={"c","a","b"}; sort(v.begin(),v.end()); cout< IN का आउटपुट: वेक्टर v={"c","a","b"}; क्रमबद्ध करें (v.begin(),v.end()); अदालत A ac ए.सी B ab अब C ca सीए D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Sorted: a,b,c; v[0]=a, v[2]=c. व्याख्या (हिन्दी) क्रमबद्ध: ए, बी, सी; वी[0]=ए, वी[2]=सी. 🎯 Exam Perspective Data Structures and Algorithms से जुड़ा यह सवाल उन students के लिए काम का है जो SSC CGL, IBPS, RRB और State-level परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions The output of: class Vec{int x,y; public: Vec(int a,int... What is the output: int arr[]={10,20,30}; for(int &x:ar... The output of: class Box{double l,w,h; public: Box(doub... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
968 Question 968 EN + हिं GB What is the output: auto it=max_element(begin("abcZ"),end("abcZ")-1); cout<<*it; IN आउटपुट क्या है: auto it=max_element(begin("abcZ"),end("abcZ")-1); अदालत A c सी B Z जेड C a ए D b बी ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) ASCII: a=97,b=98,c=99,Z=90; max is c(99). व्याख्या (हिन्दी) ASCII: a=97,b=98,c=99,Z=90; अधिकतम c(99) है। 🎯 Exam Perspective UPSC, SSC, Banking और Police भर्ती जैसी परीक्षाओं में Data Structures and Algorithms से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions The output of: class A{public:int x; A(int x):x(x){}};... The output of: vector v={"c","a","b"}; sort(v.begin(),v... The output of: for(int i=2;i 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
969 Question 969 EN + हिं GB The output of: int n=7; int sum=0; for(int i=2;i<=n/2;i++) if(n%i==0){sum=1; break;} cout<<(sum?"Composite":"Prime"); IN का आउटपुट: int n=7; पूर्णांक योग=0; for(int i=2;i A Composite कम्पोजिट B Prime मुख्य C 7 7 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 7 has no divisors in 2..3; sum stays 0; Prime. व्याख्या (हिन्दी) 2..3 में 7 का कोई भाजक नहीं है; योग 0 रहता है; मुख्य। 🎯 Exam Perspective अगर आप Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं, तो Data Structures and Algorithms का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions The output of: string words[]={"hello","world","foo"};... The output of: vector v={"c","a","b"}; sort(v.begin(),v... The output of: int n=1000; for(;n>1;n/=10) cout 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
970 Question 970 EN + हिं GB The output of: int n=12; int sum=0; for(int i=2;i<=n/2;i++) if(n%i==0){sum=1; break;} cout<<(sum?"Composite":"Prime"); IN का आउटपुट: int n=12; पूर्णांक योग=0; for(int i=2;i A Prime मुख्य B Composite कम्पोजिट C 12 12 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 12/2=6; i=2: 12%2=0; sum=1; Composite. व्याख्या (हिन्दी) 12/2=6; मैं=2: 12%2=0; योग=1; समग्र। 🎯 Exam Perspective Data Structures and Algorithms के इस प्रश्न को कई प्रतियोगी परीक्षाओं जैसे SSC, Railway, Banking और State PCS में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions What is the output: int arr[]={10,20,30}; for(int &x:ar... The output of: int n=1000; for(;n>1;n/=10) cout What is the output: struct Pt{int x,y; Pt(int x,int y):... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
971 Question 971 EN + हिं GB What is the output: struct Pt{int x,y; Pt(int x,int y):x(x),y(y){} double dist(){return sqrt(x*x+y*y);}}; Pt p(3,4); cout< IN आउटपुट क्या है: struct Pt{int x,y; Pt(int x,int y):x(x),y(y){} डबल डिस्ट(){रिटर्न sqrt(x*x+y*y);}}; पीटी पी(3,4); अदालत A 5 5 B 7 7 C 25 25 D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) sqrt(9+16)=sqrt(25)=5. व्याख्या (हिन्दी) sqrt(9+16)=sqrt(25)=5. 🎯 Exam Perspective यह सवाल Data Structures and Algorithms category का है, और SSC CGL, IBPS, RRB और State-level परीक्षाओं के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions The output of: int n=7; int sum=0; for(int i=2;i The output of: class Ctr{int n=0; public: void inc(){n+... The output of: int x=5; auto l=coroutine_not_shown; cou... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
972 Question 972 EN + हिं GB The output of: class Ctr{int n=0; public: void inc(){n++;} int get(){return n;} }; Ctr c; c.inc(); c.inc(); c.inc(); cout< IN इसका आउटपुट: क्लास Ctr{int n=0; सार्वजनिक: void inc(){n++;} int get(){return n;}}; सीटीआर सी; c.inc(); c.inc(); c.inc(); अदालत A 1 1 B 2 2 C 3 3 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) inc called 3 times; n=3. व्याख्या (हिन्दी) inc को 3 बार कॉल किया गया; एन=3. 🎯 Exam Perspective यह प्रश्न Data Structures and Algorithms की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर UPSC, SSC, Banking और Police भर्ती जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions The output of: class Box{double l,w,h; public: Box(doub... The output of: int n=12; int sum=0; for(int i=2;i The output of: int n=7; int sum=0; for(int i=2;i 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
973 Question 973 EN + हिं GB The output of: class Box{double l,w,h; public: Box(double a,double b,double c):l(a),w(b),h(c){} double vol(){return l*w*h;} }; Box b(2,3,4); cout< IN का आउटपुट: क्लास बॉक्स {डबल एल, डब्ल्यू, एच; सार्वजनिक: बॉक्स (डबल ए, डबल बी, डबल सी): एल (ए), डब्ल्यू (बी), एच (सी) {} डबल वॉल्यूम() {रिटर्न एल * डब्ल्यू * एच; } }; बॉक्स बी(2,3,4); अदालत A 9 9 B 24 24 C 14 14 D 6 6 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 2*3*4=24. व्याख्या (हिन्दी) 2*3*4=24. 🎯 Exam Perspective Data Structures and Algorithms से जुड़ा यह सवाल उन students के लिए काम का है जो Railway, SSC, Banking और Defence परीक्षाओं की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions Which C++20 concept checks if type T has operator The output of: int x=5; auto l=coroutine_not_shown; cou... What is the output: struct Pt{int x,y; Pt(int x,int y):... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
974 Question 974 EN + हिं GB The output of: class Vec{int x,y; public: Vec(int a,int b):x(a),y(b){} Vec operator+(Vec v){return Vec(x+v.x,y+v.y);} void print(){cout< IN का आउटपुट: वर्ग Vec{int x,y; सार्वजनिक: Vec(int a,int b):x(a),y(b){} Vec ऑपरेटर+(Vec v){रिटर्न Vec(x+v.x,y+v.y);} void print(){cout A 4,6 4,6 B 1,2 1,2 C 3,4 3,4 D 2,4 2,4 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) (1+3, 2+4)=(4,6). व्याख्या (हिन्दी) (1+3, 2+4)=(4,6). 🎯 Exam Perspective SSC, Railway, Banking और State PCS जैसी परीक्षाओं में Data Structures and Algorithms से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions The output of: vector v={"c","a","b"}; sort(v.begin(),v... What is the output: auto it=max_element(begin("abcZ"),e... The output of: int x=5; auto l=coroutine_not_shown; cou... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)
975 Question 975 EN + हिं GB The output of: class A{public:int x; A(int x):x(x){}}; class B:public A{public:B(int x):A(x){}}; B b(42); cout< IN का आउटपुट: क्लास ए {सार्वजनिक: int x; A(int x):x(x){}}; कक्षा बी:सार्वजनिक ए{सार्वजनिक:बी(int x):ए(x){}}; बी बी(42); अदालत B 42 42 C Error गलती D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) B passes 42 to A constructor; b.x=42. व्याख्या (हिन्दी) बी, ए कंस्ट्रक्टर को 42 पास करता है; बी.एक्स=42. 🎯 Exam Perspective अगर आप SSC CGL, IBPS, RRB और State-level परीक्षाओं की तैयारी कर रहे हैं, तो Data Structures and Algorithms का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions The output of: int n=12; int sum=0; for(int i=2;i Which C++20 concept checks if type T has operator The output of: string words[]={"hello","world","foo"};... 📚 Related Topic Introduction to DSA (819) Arrays (16) Linked List (25)