C Storing Difference In Value Between Two Pointers Stack Overflow

C Storing Difference In Value Between Two Pointers Stack Overflow