++*ptr can be taken as ++(*ptr) means increment the value pointed by pointer.
ptr contains address of s[3].
ptr1 is pointing where ptr pointing to.
ptr2 is pointing to base address.
Ascii value of new line is 10 and A is 65.
this may help : https://www.techonthenet.com/ascii/chart.php
ptr contains address and *ptr means value in that address.