1336
GB
What is the output: int a[]={5,4,3,2,1}; int *p=max_element(a,a+5); cout<<*p<<(p-a);
IN
आउटपुट क्या है: int a[]={5,4,3,2,1}; int *p=max_element(a,a+5); अदालत
A
50
50
B
05
05
C
Compile error
संकलन त्रुटि
D
Undefined
अपरिभाषित
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English)
max=5 at index 0. Output: 50.
व्याख्या (हिन्दी)
सूचकांक 0 पर अधिकतम=5। आउटपुट: 50।