Please tell me why strcpy fails. Im trying to copy the value str1 into one of the element of str2.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[]) {
    char str1[]={"cat"}; //string
    char *str2[]={"mouse","dog"}; //array
    strcpy(str2[0],str1);       
    return 0;
}   
 
     
     
    