1) Translate the two functions below in MAL. Develop a smallprogram to test your
implementation.
int str_print(char *str) {
int i=0;
while (*str != ’ ’) {
i++;
str++;
}
return i;
}
void print(int n)
{
cout<<n;
}
Expert Answer
An answer will be send to you shortly. . . . .