91
GB
What is the output: auto fib=[]()->generator{int a=0,b=1;for(;;){co_yield a;tie(a,b)=make_pair(b,a+b);}}; auto g=fib(); cout<{});
IN
आउटपुट क्या है: auto fib=[]()->generator{int a=0,b=1;for(;;){co_yield a;tie(a,b)=make_pair(b,a+b);}}; ऑटो जी=फ़ाइब(); अदालत
A
Compile error (no generator)
संकलन त्रुटि (कोई जनरेटर नहीं)
B
21
21
C
33
33
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Fibonacci: 0,1,1,2,3,5,8,13. Sum=33. Output: 33.
व्याख्या (हिन्दी)
फाइबोनैचि: 0,1,1,2,3,5,8,13. योग=33. आउटपुट: 33.