Is there more to this or ?
Answer:
I'll happy to help
Explanation:
Please make your clear. I couldn't understand!
inside a function or a block which is called local variables
Answer:
the consecutive two elements and swap them based on the value which is larger if we go for ascending order
Explanation:
bubble sort compares 2 consecutive elements of the list and swap them. in one iteration one value will be placed correctly depending on the sorting order either ascending or descending