#include <iostream>int main() { int arr[] = {1, 2, 3, 4, 5}; int *ptr = arr; ptr++ = (ptr)++; for(int i = 0; i < 5; ++i) { std::cout << arr[i] << " "; } return 0;}
It will result in a complie time error