0

What does new int[2]{1,2} mean

https://code.sololearn.com/cY9JFsz9KO2w/?ref=app Why *arr becomes 2 in output??

19th Mar 2021, 12:10 PM
__n
__n - avatar
4 Answers
0
I wants to ask that why *arr gives me 1??
19th Mar 2021, 12:28 PM
__n
__n - avatar
0
And also *(arr++)<<" "<<*arr+1; gives 1 3 ...why??
19th Mar 2021, 12:30 PM
__n
__n - avatar