why is the output of the below program is coming out as 'unequal' ??can anyone please explain??
include<stdio.h>
void func(char *);
void main()
{
char *q;
char *p;
p="hello hii";
func(q);
if(p==q)
printf("equal");
else printf("unequal");
}
void func(char *pi)
{
pi="hello hii";
}