Variable Sized Arrays

  • + 0 comments

    The problem is find the index j of array k_i. i & j are pair values in q. You have to store the input in 2D array for n_arr & q_arr. My solution using pointers to create dynamic arrays and store values in these arrays.