//ascending order #include #include #include void bsrt(int*,int); void main() { clrscr(); int N; void bsrt(int*,int); int *arr; printf("\n how many elements to be entered:"); scanf("%d",&N); arr=(int *)malloc((N) *sizeof(int *)); printf("\n Enter the nos one by one:"); for(int i=0;i*n2) { int temp=*n1; *n1=*n2; *n2=temp; } }