Complete this fun so that it replaces all occurrences of y with z in array x . The fun shld return no of replacement made. | Sololearn: Learn to code for FREE!

-1

Complete this fun so that it replaces all occurrences of y with z in array x . The fun shld return no of replacement made.

int replace(int *x, int n, int y, int z) { return 0;

cpp

3/15/2021 3:21:24 AM

Jayasudha selvan

1 Answer

New Answer

0

First try yourself.. and post your try if not solved...