CPP Webinar : Space Time Complexity [28 Feb]

at 7:00 min address typecasting has been discussed in which if we cout char array named arr cout<<&arr it will return the contents of an array ,is it true??

and also cout<<void*(arr); is showing eror

Yes, it’s true, In case of a character array, printing the address gives the contents of the array.

I don’t get any error in this, can you upload your code along with the errors gotten?