void storedouble(int *determiner, char *line, char *line2, char *line3, char *line4, char *mem,char *mem2,char *mem3,char *mem4)
{
    char temp[4];
    //store nya sa temp
    temp[0]=*line;                   
    temp[1]=*line2;
    temp[2]=*line3;
    temp[3]=*line4;

    temp[0]=*mem;                   
    temp[1]=*mem2;
    temp[2]= *mem3;
    temp[3]= *mem4;
    printf ("%c",temp[0]);
}

THIS FUNCTION IS TO TRACK THE PREVIOUS USER INPUT....BUT IT WONT WORK..PLEASE HELP ME :(

We can't understand what this is supposed to do either. There is no useful context.