i also agree with shabbir man as it *ptr++ undergoes post increment operation first expression is evaluated then in the further step it is...
i think as first arr value 10 is assigned to *ptr & *ptr value is 10; if it is declared in the next statement as *ptr++ it's value will be...
Separate names with a comma.