Untitled
unknown
plain_text
a year ago
286 B
4
Indexable
int n,m,i,j,k; printf ("enter the no of processes"); scanf("%d",&n); printf("enter the no of resources"); scanf("%d",&m); int alloc[m][n]; int max[m][n]; int avail[m]; printf ("enter the allocation matrix"); for(i=0;i<n;i++) { for(j=0;j<m;j++) { scanf("%d",&alloc[i][j]); } } printf
Editor is loading...
Leave a Comment