└── linkedfile /linkedfile: -------------------------------------------------------------------------------- 1 | #include 2 | main() 3 | { 4 | int f[50],p,i,j,k,a,st,len,n,c; 5 | clrscr(); 6 | for(i=0;i<50;i++) 7 | f[i]=0; 8 | printf("Enter how many blocks that are already allocated"); 9 | scanf("%d",&p); 10 | printf("\nEnter the blocks no.s that are already allocated"); 11 | for(i=0;i%d",j,f[j]); 24 | } 25 | else 26 | { 27 | } 28 | } 29 | printf("\n %d->file is already allocated",j); k++; 30 | printf("\n If u want to enter one more file? (yes-1/no-0)"); 31 | scanf("%d",&c); 32 | if(c==1) 33 | goto X; 34 | --------------------------------------------------------------------------------