IntroductionThe C programming language has been in use for over four decades and remains popular due to its powerful yet flexible features. One such feature is the gets function, which allows a user to input a string of characters from the standard input