#include<iostream>
using namespace std;
int main(){
char a[] = "hello";
char b[] = "hello";
char* c = "hello";
char* d = "hello";
//输出unequal
if(a == b)
cout<<"equal"<<endl;
else
cout<<"unequal"<<endl;
//输出equal
if(c == d)
cout<<"equal"<<endl;
else
cout<<"unequal"<<endl;
cout<<&a<<" "<<&b<<endl;
cout<<static_cast<const void*>(c)<<" "<<static_cast<const void*>(d);
return 0;
}