Simple C Code Solution


#1

char** fizzBuzz(int A, int *len1) {
int i;
for(i=1;i<=A;i++)
if(i%3==0 && i%5==0)
printf("FizzBuzz ");
else if(i%3==0)
printf("Fizz ");
else if(i%5==0)
printf("Buzz “);
else
printf(”%d ",i);
return;
}


#2

where is malloc and return array