76
GB
What is the output: int x=5; x+=x-=x*=2; cout<
IN
आउटपुट क्या है: int x=5; x+=x-=x*=2; अदालत
B
5
5
C
10
10
D
Undefined behavior
अपरिभाषित व्यवहार
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Multiple assignments to x with reads in the same expression without sequencing is undefined behavior in C++ (pre-C++17).
व्याख्या (हिन्दी)
अनुक्रमण के बिना एक ही अभिव्यक्ति में पढ़ने के साथ x को एकाधिक असाइनमेंट C++ (प्री-C++17) में अपरिभाषित व्यवहार है।