Question
int countZeros(int *num, int count)
{
int i;
int zeros;
i=0;
zeros = 0;
do {
if (num[i] == 0)
{
zeros ++;
num[i] = -1;
}
i++;
} while {i< count);
return(zeros);
}
Solution Preview
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
.global _countzeros_countzeros:
pushl %ebp
movl %esp,%ebp //
movl 8(%ebp),%ebx // ebx ->num...