usage of pointer

IS the usage of pointer correct

int main(void)
{
while(1)
{
if(condition)
{
function1();
}
}}

function1();
{
char *p = NULL;
//process the pointer
}