I need C++ CODE for appending an int array passing pointer

c++

Recommended Answers

I hope you find it. The policy here is to post a question you have about code you are working with and someone will try to help out. Please post questons about the code you come up with.

Jump to Post

All 2 Replies

I hope you find it. The policy here is to post a question you have about code you are working with and someone will try to help out. Please post questons about the code you come up with.

What Lerner said is basically a version of "we don't do your homework for you"... :-( An array can be expressed as a pointer. IE, this

int intarray[10];
int* pIntArray = intarray;

means that you can use pIntArray as an alias for intarray. Still clueless? Read your text books.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.