121
GB
What is the output: vector f(int n){vectorr;for(int i=1;i<=n;i++)if(n%i==0)r.push_back(i);return r;} auto v=f(12); cout<
IN
आउटपुट क्या है: वेक्टर f(int n){vectorr;for(int i=1;i
A
612
612
B
Compile error
संकलन त्रुटि
C
Undefined
अपरिभाषित
D
6 12
6 12
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
Divisors of 12: 1,2,3,4,6,12. Count=6, last=12. Output: 612.
व्याख्या (हिन्दी)
12 के भाजक: 1,2,3,4,6,12. गिनती=6, अंतिम=12. आउटपुट: 612.