• + 1 comment

    sorry but, memory allocated to long int a is of the equal size of N (the size we required) so every position will be filled by an element ,, so how there will be a memory leak..