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

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.