m trying to get data to store in multidimensional vectors. While executing m getting Error : "vector subscript out of range".
I think the way i am trying to store the values in the vector is causing the issue.
Well, what's the length of the c vector when you try to do that?
c may have a length of 0, so c[0] doesn't contain a string vector yet, so it's out of bounds. You need to push a vector into c[0] (or c[i] for that matter) before you push strings into that inner vector.