466
GB
What is the output: int x=5; auto f=[x=move(x)](){return x;}; cout<
IN
आउटपुट क्या है: int x=5; ऑटो f=[x=move(x)](){रिटर्न x;}; अदालत
A
55
55
B
50
50
C
05
05
D
Error
गलती
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Move x into lambda (x=5 copied for int); original x becomes indeterminate; f()=5, x indeterminate.
व्याख्या (हिन्दी)
x को लैम्ब्डा में ले जाएँ (x=5 int के लिए कॉपी किया गया); मूल x अनिश्चित हो जाता है; f()=5, x अनिश्चित।