Suppose we have an array of 10 elements and we have to separate the positive elements and negative elements and make other two arrays how we do this. The size of arrays containing even and odd elements should be 10 and no garbage value should be printed
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.