Why we dont get the address of character type array (char arr[] = "abc";when we print it like " cout << arr<< endl; but if we print a integer array we get the address of the a[0]?
#include <iostream>
using namespace std;
int main()
{
int a[] ={1,2,3};
char b[] = "abc";
cout << a << endl;
cout << b << endl;
}
in output i got the memmory address of a but for b i got abc please explain why