Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
To replace all the occurrences of the number n with 0 in the given array
a problem using function
1 Resposta
+ 1
for (int i = 0; i < len(array); i++)
{
if array[i] = n
{
array[i] = 0;
}
}