You are viewing a single comment's thread. Return to all comments →
why should we use "a[i].push_back(data)"?Is there anything wrong in using "a[i,j]" instead of that?I didn't get the output.
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Variable Sized Arrays
You are viewing a single comment's thread. Return to all comments →
why should we use "a[i].push_back(data)"?Is there anything wrong in using "a[i,j]" instead of that?I didn't get the output.