1
GB
What is the output of: int main(){int x=10; std::cout<
IN
इसका आउटपुट क्या है: int main(){int x=10; std::cout
A
10 12
10 12
B
10 11
10 11
C
11 12
11 12
D
Undefined behavior
अपरिभाषित व्यवहार
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Evaluating x++ and ++x in the same expression with no sequence point is undefined behavior in C++.
व्याख्या (हिन्दी)
बिना किसी अनुक्रम बिंदु के एक ही अभिव्यक्ति में x++ और ++x का मूल्यांकन करना C++ में अपरिभाषित व्यवहार है।