Hey Guys, these questions were asked from me during Broadcom India interview
rounds in my college. I hope this would be useful for those interested in
this firm.
They wanted a person with good knowledge of C + Networking + Microprocessor
and project in any of these technologies would be
Q1) What's a spinlock ? How it is different from a mutex ?
spinlock is used to provide synchronization between two processors
and mutex is used for single processor environment.
Q2) What's volatile keyword in C? What does the compiler does when I declare
a variable volatile ?
When you declare a