Код: Выделить всё
#include
#include
using namespace std;
int main()
{
vector f(2);
float *p1 = f.data(), *p2 = p1 + 1;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78332229/unexpected-output-when-i-try-to-divide-the-difference-of-two-pointers-with-the-s[/url]
Мобильная версия