91
GB
What is the output: int x=5,y=10,z=15; int *ptrs[]={&x,&y,&z}; int s=0; for(auto p:ptrs) s+=*p; cout<
IN
आउटपुट क्या है: int x=5,y=10,z=15; int *ptrs[]={&x,&y,&z}; int s=0; for(auto p:ptrs) s+=*p; अदालत
A
30
30
B
15
15
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
5+10+15=30. Output: 30.
व्याख्या (हिन्दी)
5+10+15=30. आउटपुट: 30.