the code below has an error please help me how can I fix it. I'm beginner in C++.

```
int main(int    argc,   char    **argv)
{
image=malloc(3*1450*900*sizeof(char));      /*  to  ALLOCATE    MEMORY  required    to  SAVE    the file    */
    some thing else....}

```

> 
> The error is: a value of type "void\*" cannot be assigned to an entity of type "char\*"
> 
> 
>