Solved Buffer Overflow Problem For This Code Void

Solved Buffer Overflow Problem For This Code Void