Код: Выделить всё
#include
using namespace std;
int main(){
const char *s[] = {"flower","flow","flight"};
char *s1[] = { (char*)"flower",(char*)"flow",(char*)"flight" };
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78319937/why-do-the-two-pointer-arrays-return-different-addresses[/url]
Мобильная версия