int main()
{
int *Frag,*Files,*Block,nFile,nFrag,nBlock,i,j;
int *FFile,*FBlock;
int tmp,greatest;
//Take Input of Block Size Information
printf("\nEnter the Number of Blocks:");
scanf("%d",&nBlock);
Block=(int*)malloc(sizeof(int)*nBlock);
FBlock=(int*)malloc(sizeof(int)*nBlock);
for(i=1;i<=nBlock;i++)
{
printf("Block-%d Size :",i);
scanf("%d",&Block[i]);
}