Hi. Im a beginner and I've recently studied ASSIGNING ARRAYS and have drawn the following conclusions. Please tell me if they're correct or not. If their wrong, pls explain to me why they're wrong and pls give me a sample code. Thanks a lot guys!!!

Assign fixed array to dynamic array = CAN BE DONE
Assign dynamic array to dynamic array = CAN BE DONE

Assign fixed array to fixed array = CANNOT BE DONE
Assign dynamic array to fixed array = CANNOT BE DONE

You are absolutely correct, fixed arrays cannot be assigned as a whole but dynamic arrays can. If you wish to assign a fixed array you have to do it one element at a time.

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.