C Pointer With Cin Implementation Issue Stack Overflow

C Pointer With Cin Implementation Issue Stack Overflow