Friday , January 20 2017
Home / C / C program for bankers algorithm

C program for bankers algorithm

This is a C program for Banker’s algorithm for finding out the safe sequence. Bankers algorithm is used to schedule processes according to the resources they need. It is very helpful in Deadlock Handling. Bankers algorithm produce a safe sequence as a output if all the resources can be executed and return error if no safe sequence of the processes available.


Tags: c program for bankers algorithm, c program to find safe state using bankers algorithm, finding out the safe state in c.
Also See:   C Program to make a Calculator - Source Code

Check Also

Hide Mouse Pointer C Program

How to Hide a Mouse Pointer Program in C : This program will show and hide ...


  1. doesn’t work

  2. Great, thank you for this !

  3. Mahendra Choudhary

    Is anyone know the programcode for given question? if yes then please mail it to me before 2 pm of 14’s very urgent for me.

    Q1) A computer has three commonly used resources designated A, B and C. Up to three processes designated X, Y and Z run on the computer and each makes periodic use of two of the three resources.

    Process X acquires C, then B, uses both and then releases both.

    Process Y acquires A, then C, uses both and then releases both.

    Process Z acquires B, then A, uses both and then releases both.

Leave a Reply

Your email address will not be published. Required fields are marked *

Preventing spam * Time limit is exhausted. Please reload the CAPTCHA.