From cf1a2fa9e6b528b7bc489b5d214c584b51ee487d Mon Sep 17 00:00:00 2001 From: Zaid Parkar Date: Sun, 26 Mar 2023 12:43:17 +0530 Subject: [PATCH] Update WorstFit.c updated code.now its working properly --- MemoryAllocation/WorstFit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MemoryAllocation/WorstFit.c b/MemoryAllocation/WorstFit.c index 5de08bb..9955ffe 100644 --- a/MemoryAllocation/WorstFit.c +++ b/MemoryAllocation/WorstFit.c @@ -38,7 +38,7 @@ int main() { avail[j]=blockSize[j]-jobSize[i]; } } - max=0; + int max=0; for(j=0;j