cout << "Enter size of array: " << endl;
cin >> size;
cout << "Enter elements: ";
for(i=0;i<size;i++)
{
cin >> array[i];
}
chubbyy.putto
0
Junior Poster in Training
Recommended Answers
Jump to Postproblem display the unchange array
i don't see the code for displaying an array. you should use
cout<<
for displaying
i don't know what do you mean by the word unchange.you should declare a pointer variable because i think you wanna play with dynamic array.so try …
All 2 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Learner010
99
Posting Whiz in Training
Ancient Dragon
commented:
right
+14
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.