what is the advantage of using SEMAPHORES to ORDINARY
VARIABLES???
Answer Posted / test
semaphores helps is a varible which is used to protect the shared data .hence avoiding the coruption of data by the threads acting simultaniously..
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
Why main is not a keyword in c?
What is the use of c language in real life?
How can a process change an environment variable in its caller?
Explain about block scope in c?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is formal argument?
how to count no of words,characters,lines in a paragraph.
How many levels of pointers have?
What is unary operator?
What is New modifiers?
Is c a great language, or what?
What is a buffer in c?
What does 2n 4c mean?
Explain the difference between structs and unions in c?