#include #include #include int main() { int *ARRAY=NULL,ARRAY_LENGTH,i,TEMPORARY_ELEMENT,isSorted=0; float MEAN=0,VARIANCE=0,STAND; printf("Enter no. for Random Numbers :"); scanf("%d",&ARRAY_LENGTH); ARRAY=(int *)realloc(ARRAY,ARRAY_LENGTH*(sizeof(int))); //We allocate the dedicated memory for(i=0;iARRAY[i+1]){ // if the two elements aren't sorted isSorted=0; //it means that the array is not sorted TEMPORARY_ELEMENT=ARRAY[i]; //and we switch these elements using TEMPORARY_ELEMENT ARRAY[i]=ARRAY[i+1]; ARRAY[i+1]=TEMPORARY_ELEMENT; } } } for(i=0;i