76
GB
What is the output: class A{int x; public: A(int v):x(v){} void print()const{cout<
IN
आउटपुट क्या है: class A{int x; सार्वजनिक: A(int v):x(v){} void print()const{cout
A
7
7
B
5
5
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
5+1+1=7. Output: 7.
व्याख्या (हिन्दी)
5+1+1=7. आउटपुट: 7.