ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
what is the advantage of using SEMAPHORES to ORDINARY
VARIABLES???
 Question Submitted By :: Jidhu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???
Answer
# 1
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 ?    6 Yes 0 No
Test
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
int *p=20; if u print like dis printf("%d",p); o\p:- 20; how is it possible? plz give me the explanation. Global-Edge11
how to find the kth smallest element in the given list of array elemnts. Silicon5
We can draw a box in cprogram by using only one printf();& without using graphic.h header file? NIIT3
wap to print "hello world" without using the main function. TCS16
c programming of binary addition of two binary numbers  1
Write a program that takes three variables(a,b,c) in as separate parameters and rotates the values stored so that value a goes to b,b,to c and c to a  3
How to convert a binary number to Hexa decimal number?? (Note:Do not convert it into binary and to Hexadecimal) Subex1
how to convert binary to decimal and decimal to binary in C lanaguage  4
I have a function which accepts, and is supposed to initialize,a pointer, but the pointer in the caller remains unchanged.  1
Write a program to find the smallest and largest element in a given array in c language Microsoft3
what is call by value and call by reference  2
Please list all the unary and binary operators in C.  1
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.  1
the code is::::: if(condition) printf("hello"); else printf("world"); WHAT WILL BE THE CONDITION IN IF IN SUCH A WAY THAT BOTH HELLO AND WORLD ARE PRINTED IN A SINGLE ATTEMPT?????? SINGLE ATTEMPT IN THE SENSE... IT MUST FIRST PRINT "HELLO" AND IT MUST GO TO ELSE PART AND PRINT "WORLD"..... NO LOOPS, RECURSION ARE ALLOWED........................ IBM9
what is the defrenece between structure and union  5
write a program that explain #define and # undef directive  1
what is const volatile?  1
write a program for even numbers?  8
int *a[5] refers to TCS8
c program to add and delete an element from circular queue using array  1
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com