960 views
0 0 votes
What is the purpose of global locks?

A)To synchronize Access to local resources.

B)To synchronize Access to global resources.

C)Are used to avoid locks.

D)To prevent access to global resources.

1 Answer

Position:
Show:

Related questions

1 1 vote
1 1 answer
368
368 views
Depinder asked Jul 6, 2025
368 views
#include <stdio.h>struct Point { int x; int y;};int main() { struct Point p = {10, 20}; struct Point *ptr = &p; printf("%d %d", ptr->x, (*ptr).y); retur...
0 0 votes
2 2 answers
738
738 views
Sourin Kundu asked Jan 23, 2023
738 views
How many number of add and remove operations are required to access 26th element of a queue of 50 elements,so that the original queue remains the same after the access is...
0 0 votes
2 answers 2 answers
796
796 views
Overflow04 asked Oct 2, 2022
796 views
#include <stdio.h int main(){ int a[] = {5,3,7,2,4}; int *p = &a[3]; p -= *p; printf("%d ",*p); return 0; } output is 3.Why 2 * sizeof(int) is doene.?
1 1 vote
0 0 answers
1.5k
1.5k views
srestha asked Mar 6, 2019
1,474 views
void find(int x){ static int i=10,y=0; y=y+i; for(i;i>0;i=i-10){ if(x!=0) find(x-1); else{ printf("%d",y); } } }What will be output printed for find(4)?