void callme(string a)
{
cout<<"STRING CALLED"<<endl;
}
void callme(char * a)
{
cout<<"char pointer called"<<endl;
}
int main()
{
callme("ASDADS");
return 0;
}
why is it that the char* will be called? and why when I comment out the function with the char* parameter, the other function will be called instead?
{}button or hit Ctrl+K.)