0
#include <iostream>
int main()
{
  using namespace std;
  int arr[] = {1,2,3,4,5}; //initialization 
  cout << -3[arr]; //line A
  return 0;
}

How is the output of line A -4? Thanks in advance.

463035818_is_not_an_ai
  • 109,796
  • 11
  • 89
  • 185

0 Answers0