1
GB
What is the output: int a[]={1,2,3}; int *p=a; cout<<*(p+2);
IN
आउटपुट क्या है: int a[]={1,2,3}; int *p=a; अदालत
A
3
3
B
2
2
C
1
1
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
p+2 points to a[2]=3.
व्याख्या (हिन्दी)
p+2 a[2]=3 की ओर इंगित करता है।