Posts by David Oliveira • 1 point
1 post
-
0
votes3
answers751
viewsQ: Compress array by removing zeros [C]
Question: Make a program that reads a vector of 15 positions and compact, that is, eliminate zero positions. For this, all elements ahead of zero a rearward position shall be moved in the vector. My…