Question: Using C++ Create an array of char to hold the string iria. Go through the array using a for loop and print each character one

Using C++

Create an array of char to hold the string iria. Go through the array using a for loop and print each character one letter at a time and put a space between each letter.

Then

Print the next two characters past the end of the character array from the above question.

Then

Use a for-loop to create an array of integer of size 10. Store 110 in the array. Create a pointer to the array. Use pointer arithmetic and print the contents of the array using another for-loop. Then print the next two numbers past the end of the array from the above question

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!