You are viewing a single comment's thread. Return to all comments →
You don't have to do this:
for(int i=0;i<n;i++) arr[i]=0;
because long by default is 0
Seems like cookies are disabled on this browser, please enable them to open this website
Array Manipulation
You are viewing a single comment's thread. Return to all comments →
You don't have to do this:
because long by default is 0