+ 1
isnt const char* and const char[] the same
if an array is just a pointer to the start of it, isnt those two types the same? if no where do they defear? I tried to use both and they behaved differently, why?
2 ответов
+ 2
the difference is that one is an array while the other is a pointer, and mind you array a nd pointer have there little differences, which i think you already know
+ 1
In which way did they behave differently?