Const char * and char?

By giving the type as const char it makes it harder to accidentally overwrite the memory, since the compiler will give an error if you try.

The difference is that the latter is legal and the former is not. That's a change that was made in C++11. Formally, "" has type const char13; it can be converted to const char*.

In the olden days, its type could be char13, which could be converted to char*. C++ changed the type of the array by adding the const, but kept the conversion to char* so that existing C code that used char* would work in C++, but modifying the text that the pointer pointed to produced undefined behavior. C++11 removed the conversion to char*, so now you can only legally do.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions