Question: Single-Dimensional Arrays and C-Strings solve using c++ (Replace: space with underscore) Write a program that prompts the user to enter a string and replaces all

Single-Dimensional Arrays and C-Strings solve using c++
(Replace: space with underscore) Write a program that prompts the user to enter a string and replaces all spaces in it with underscores
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
