Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

declare a large array of 100 integers. Request the user to enter numbers and insert them into the array in order. The user can enter

declare a large array of 100 integers.

Request the user to enter numbers and insert them into the array in order.

The user can enter anywhere from 3 to 100 numbers.

You cannot use array notation to insert the number into the "array"

You must use pointer arithmetic

Call the reverse function with the address of the first element (i.e., a pointer) and the number of items the user entered.

The only declaration permitted in the function is a temporary that is declared as a POINTER to an integer

The function will reverse the items

You cannot use array notation to swap numbers

You must use pointer arithmetic

The main program is to print the reversed numbers using pointer arithmetic to access them.

image text in transcribedimage text in transcribedPlease fix my code. Do not rewrite everything. I need help after return 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

e. What are notable achievements of the group?

Answered: 1 week ago