1531 Question 1531 EN + हिं GB What is the output: int x=5,y=10; cout<<(xy?x:y); IN आउटपुट क्या है: int x=5,y=10; अदालत A 5 10 5 10 B 10 5 10 5 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) min=5, max=10. Output: 5 10. व्याख्या (हिन्दी) न्यूनतम=5, अधिकतम=10. आउटपुट: 5 10. 🎯 Exam Perspective OOP Using C++ से जुड़ा यह सवाल उन students के लिए काम का है जो UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions What is the output: int x=2; for(int i=0;i What is the output: cout What is the output: int x=10; x=x/2+x%2; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1532 Question 1532 EN + हिं GB What is the output: int a=5; cout<<(a&=3)< IN आउटपुट क्या है: int a=5; अदालत A 11 11 B 33 33 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 5&3=1; a=1. C++17: (a&=3) returns 1, then a=1. Output: 11. व्याख्या (हिन्दी) 5&3=1; ए=1. सी++17: (ए&=3) 1 लौटाता है, फिर ए=1। आउटपुट: 11. 🎯 Exam Perspective Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में OOP Using C++ से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions What is the output: int x=5,y=10; cout What is the output: int a=4,b=6; cout What is the output: int x=7; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1533 Question 1533 EN + हिं GB What is the output: int x=2; for(int i=0;i<4;i++) x=x<<1|1; cout< IN आउटपुट क्या है: int x=2; for(int i=0;i A 63 63 B 31 31 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 2->5->11->23->47. Let me recheck: x=2=010. i=0:010<<1|1=101=5; i=1:101<<1|1=1011=11; i=2:1011<<1|1=10111=23; i=3:10111<<1|1=101111=47. Output: 47. व्याख्या (हिन्दी) 2->5->11->23->47. मुझे दोबारा जांच करने दीजिए: x=2=010. मैं=0:010 🎯 Exam Perspective अगर आप SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं, तो OOP Using C++ का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions What is the output: int a=5; cout What is the output: int x=5; cout What is the output: int x=5; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1534 Question 1534 EN + हिं GB What is the output: int x=5; cout<<(x|(x<<4)); IN आउटपुट क्या है: int x=5; अदालत A 85 85 B 5 5 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 5=00000101; 5<<4=01010000=80. OR=01010101=85. Output: 85. व्याख्या (हिन्दी) 5=00000101; 5 🎯 Exam Perspective OOP Using C++ के इस प्रश्न को कई प्रतियोगी परीक्षाओं जैसे SSC CGL, IBPS, RRB और State-level परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions What is the output: int x=2; for(int i=0;i What is the output: int x=7; cout What is the output: int x=5; cout0)1)2)3); 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1535 Question 1535 EN + हिं GB What is the output: int x=5; cout<<(x^(x^0)); IN आउटपुट क्या है: int x=5; अदालत A 5 5 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) x^0=x; x^x=0... wait: x^(x^0)=x^x=0. Hmm. x^0=x; then x^x=0. Output: 0. व्याख्या (हिन्दी) x^0=x; x^x=0... प्रतीक्षा करें: x^(x^0)=x^x=0. हम्म। x^0=x; फिर x^x=0. आउटपुट: 0. 🎯 Exam Perspective यह सवाल OOP Using C++ category का है, और UPSC, SSC, Banking और Police भर्ती के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions What is the output: int x=5; cout What is the output: int x=5; cout0)1)2)3); What is the output: int x=7; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1536 Question 1536 EN + हिं GB What is the output: int x=5; cout<<(x^0)<<(x^x)<<(x^(~0)); IN आउटपुट क्या है: int x=5; अदालत A 50-6 50-6 B 50 50 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) x^0=5; x^x=0; x^~0=~x=-6. Output: 50-6. व्याख्या (हिन्दी) x^0=5; x^x=0; x^~0=~x=-6. आउटपुट: 50-6. 🎯 Exam Perspective यह प्रश्न OOP Using C++ की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions What is the output: int a=5; cout What is the output: int x=5; cout What is the output: int a=4,b=6; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1537 Question 1537 EN + हिं GB What is the output: int x=5; cout<<(x&&2)<<(x&2)<<(x||0)<<(x|0); IN आउटपुट क्या है: int x=5; अदालत A 1015 1015 B 1 1 0 5 1 1 0 5 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) x&&2=1; x&2=0 (101&010=0); x||0=1; x|0=5. Output: 1015. व्याख्या (हिन्दी) x&&2=1; x&2=0 (101&010=0); x||0=1; x|0=5. आउटपुट: 1015. 🎯 Exam Perspective OOP Using C++ से जुड़ा यह सवाल उन students के लिए काम का है जो SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions What is the output: int x=5; cout What is the output: int x=5; cout What is the output: cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1538 Question 1538 EN + हिं GB 'What is the output: int a=5,b=3; int c=a>b?a (1, 6, 73, 3, 4, 'What is the output: int x=5; cout<<(x>>0)<<(x>>1)<<(x>>2)<<(x>>3);', 'Right shift 0 IN 'आउटपुट क्या है: int a=5,b=3; int c=a>b?a (1, 6, 73, 3, 4, 'आउटपुट क्या है: int x=5; cout0)1)2)3);', 'राइट शिफ्ट 0 A 2 2 B Three ways to double x? x को दोगुना करने के तीन तरीके? C 10 10 10 10 10 10 D 105 105 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Undefined व्याख्या (हिन्दी) अपरिभाषित 🎯 Exam Perspective SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में OOP Using C++ से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions What is the output: int x=5; cout What is the output: int x=5; cout0)1)2)3); What is the output: int x=5; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1539 Question 1539 EN + हिं GB What is the output: int x=5; cout<<(x>>0)<<(x>>1)<<(x>>2)<<(x>>3); IN आउटपुट क्या है: int x=5; cout0)1)2)3); A 5210 5210 B 5321 5321 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 5>>0=5; 5>>1=2; 5>>2=1; 5>>3=0. Output: 5210. व्याख्या (हिन्दी) 5>>0=5; 5>>1=2; 5>>2=1; 5>>3=0. आउटपुट: 5210. 🎯 Exam Perspective अगर आप UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं, तो OOP Using C++ का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions What is the output: int x=5; cout What is the output: int x=5; cout What is the output: int x=10; x=x/2+x%2; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1540 Question 1540 EN + हिं GB What is the output: cout<<(sizeof(int)*8-1); IN आउटपुट क्या है: cout A 31 31 B 32 32 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 4*8-1=31. Output: 31. व्याख्या (हिन्दी) 4*8-1=31. आउटपुट: 31. 🎯 Exam Perspective OOP Using C++ के इस प्रश्न को कई प्रतियोगी परीक्षाओं जैसे Railway, SSC, Banking और Defence परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions What is the output: int x=5,y=10; cout What is the output: int x=5; cout What is the output: int x=5; cout0)1)2)3); 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1541 Question 1541 EN + हिं GB What is the output: int x=5; cout<<(x>0)-(x<0)+(x==0); IN आउटपुट क्या है: int x=5; अदालत A 1 1 B 2 2 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) (1)-(0)+(0)=1. Output: 1. व्याख्या (हिन्दी) (1)-(0)+(0)=1. आउटपुट: 1. 🎯 Exam Perspective यह सवाल OOP Using C++ category का है, और SSC, Railway, Banking और State PCS के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions 'What is the output: int a=5,b=3; int c=a>b?a (1, 6, 73... What is the output: cout What is the output: int x=5; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1542 Question 1542 EN + हिं GB What is the output: int x=10; x=x/2+x%2; cout< IN आउटपुट क्या है: int x=10; x=x/2+x%2; अदालत A 5 5 B 6 6 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 10/2+10%2=5+0=5. Output: 5. व्याख्या (हिन्दी) 10/2+10%2=5+0=5. आउटपुट: 5. 🎯 Exam Perspective यह प्रश्न OOP Using C++ की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है। इस तरह के प्रश्न अक्सर SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions What is the output: int a=5; cout 'What is the output: int a=5,b=3; int c=a>b?a (1, 6, 73... What is the output: int x=5; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1543 Question 1543 EN + हिं GB What is the output: int x=7; cout<<(x/(x&-x)); IN आउटपुट क्या है: int x=7; अदालत A 7 7 B 3 3 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 7&-7=1. 7/1=7. Output: 7. व्याख्या (हिन्दी) 7&-7=1. 7/1=7. आउटपुट: 7. 🎯 Exam Perspective OOP Using C++ से जुड़ा यह सवाल उन students के लिए काम का है जो UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions What is the output: int x=2; for(int i=0;i What is the output: int a=4,b=6; cout What is the output: int x=5; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1544 Question 1544 EN + हिं GB What is the output: int x=5; cout<<(x*2)<<' '<<(x<<1)<<' '<<(x+x); IN आउटपुट क्या है: int x=5; अदालत A 10 10 10 10 10 10 B 105 105 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) All equal 10. Output: 10 10 10. व्याख्या (हिन्दी) सभी बराबर 10. आउटपुट: 10 10 10. 🎯 Exam Perspective Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में OOP Using C++ से सवाल अक्सर पूछे जाते हैं। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions What is the output: int x=5,y=10; cout What is the output: cout What is the output: int x=5; cout0)1)2)3); 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)
1545 Question 1545 EN + हिं GB What is the output: int a=4,b=6; cout<<((a+b)/2)<<' '<<((a+b)>>1); IN आउटपुट क्या है: int a=4,b=6; अदालत A 5 5 5 5 B 55 55 C Compile error संकलन त्रुटि D Undefined अपरिभाषित ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) 10/2=5; 10>>1=5. Output: 5 5. व्याख्या (हिन्दी) 10/2=5; 10>>1=5. आउटपुट: 5 5. 🎯 Exam Perspective अगर आप SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं, तो OOP Using C++ का यह topic आपके लिए महत्वपूर्ण है। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions What is the output: cout What is the output: int x=5; cout What is the output: int x=5; cout 📚 Related Topic Introduction to C++ (187) Variables and Data Types (160) Operators in C++ (163)