Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

what is the use of smallsub?

0 votes
asked Feb 26, 2019 by hasan
int I,j,N,Smallsub,temp,A[30];
    cout<<"Enter the number of elements:";
    cin>>N;
    cout<<"\nBefore sorting the elements\n";

1 Answer

0 votes
answered Mar 1, 2019 by BHASKAR MORLA (180 points)
you should have pasted the full code

smallsub may be used to save value while sorting
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...