News for hackers. Stuff that matters.
Re:Computer Scientists’ Trivia by weissi on Thursday February 02, 2017 @12:44PM (#13552572)
for

    int m[2][3] = { {1, 2, 3}, {4, 5,6}};
    int *n[2];

    n[0] = &m[0][0]; //equivalent to n[0] = m[0]
    n[1] = &m[1][0]; //equivalent to n[1] = m[1]
it lists that

  What is n[1][1]? //2
  What is m[1][1]? //same as n[1][1]
but it's actually 5. (n[0][1] would be 2)

There are no comments on this comment yet.