You are viewing a single comment's thread. Return to all comments →
will not this line -- while(std::cin>>A[i++]); ---- loop indefinitely ? solution can be -- while(std::cin>>A[i++] &&(i!=N)); ---
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays Introduction
You are viewing a single comment's thread. Return to all comments →