496
GB
The output of: int arr[]={1,2,3,4,5}; int*p=arr+2; cout<<*(p-1)<<*p<<*(p+1);
IN
इसका आउटपुट: int arr[]={1,2,3,4,5}; int*p=arr+2; अदालत
A
234
234
B
123
123
C
345
345
D
Error
गलती
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
p points to arr[2]=3; p-1=arr[1]=2; p+1=arr[3]=4; outputs 234.
व्याख्या (हिन्दी)
p arr[2]=3; की ओर इंगित करता है; p-1=arr[1]=2; p+1=arr[3]=4; outputs 234.