Question: Using c++ Task 4: Write a program that has a declaration in main0 to store the string Vacation is near in an array named message.
Task 4: Write a program that has a declaration in main0 to store the string Vacation is near in an array named message. Include a function call that accepts message in an argument named stmg and then displays the contents of message by using the pointer notation *(strng+i) 1) 2) Modify the display function written in 1) to alter the address in message. Also, use the expression *strng rather than *(strng +i to retrieve the correct element
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
