& is the address of operator. Your code is attempting to get the address of a pointer. There are several options, assuming the pointer is not null, including...

if(a[0] == 0)

if(strlen(a) == 0)