Any one please help me to understand this question .
Write a Program to Delete an Integer from an Array of random numbers.
Please reply Asap
Given the language you tagged is C there is no way to remove an array element then resize the array. Put another way there is no delete() function for C arrays.
So how I handled this was to set the array element to either zero or INT_MIN and for the code that would traverse the array, code so that I knew that zero or INT_MIN meant to skip that value.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.