C
Programming and Technical
Programming
Output
sort the elements of an array without using any another array how to make this program
Read Solution (Total 2)
-
- void bubbleSort (int a[], int size) { int temp, k, pass; for (pass = 1; pass a[k+1]) { temp = a[k]; a[k] = a[k+1]; a[k+1] = temp; } } } return; }
- 9 years agoHelpfull: Yes(0) No(0)
- #include
#include
int main()
{
int a[10],i,j,n,temp;
printf("Enter no of elements in an array::n");
scanf("%d",&n);
for(i=0;i - 9 years agoHelpfull: Yes(0) No(2)
C Other Question