Character pointer doubt

char ch1=‘a’; stores at add 1000
char ch2[]=“abc” stored at 2000
now if i write
char * ptr=&ch1;
char * ptr2=ch2;
then cout<<ptr;
cout<<ptr2;
what will be answer should the answer to first cout be a and some garbage value until it gets null

hello @dakshi
yeah u are right ,output of first cout will be a and some garbage value.
because pointer type is char so it will treat the given address as base address of string and print all value until it get \0.