Ad
  • Custom User Avatar

    I guess the problem may come this line :

    long long** result = (long long**)calloc(row, sizeof(long long));

    try to declare result as :

    long long (*result)[2] = calloc(row, sizeof(lst[0]));