Complicated Declarations - Programming

Q1:

Point out the error in the following program.
#include<stdio.h>
#include<stdlib.h>

int main()
{
    static char *p = (char *)malloc(10);
    return 0;
}

A Error: Lvalue required

B Error: Rvalue required

C Error: invalid *p declaration

D No error

ANS:A - Error: Lvalue required

No answer description is available. Let's discuss.