Which of the following are legal statements in $C$ programming language?
int *P=&44;
int *P=&r;
int P=&a;
int P=a;
Choose the correct option:
(B) and (D) are legal statements.
int *P=&44; โ assigns address of constant to variable.
int P=&a; โ assigns address of variable to variable of type int.