CHALLENGE-Simulate-Dynamic-Allocation-C

Challenge: Write a program that doesn't use allocated storage or VLAs that reads input until EOF, then outputs everything it read with the last non-blank character read replaced by * (you need to replace ALL occurrences of the last char with * )