AugustineAykara / CPU-Scheduling-Algorithm-In-C

CPU Scheduling Algorithm In C
14 stars 16 forks source link

Error about priority.c #6

Open fakerUNcode opened 1 month ago

fakerUNcode commented 1 month ago

It seems there's a segmentation fault occurring in your program, likely due to accessing memory that hasn't been properly allocated or initialized."pt = (int)malloc(n sizeof(int));" is missed.

AugustineAykara commented 1 month ago

Raise PR with fix, so that I can merge :)