There were all total 5 rounds of interviews conducted out which I will express all of the questions that I remember.
Including technical questions there were some out of topic problem solving questions asked. In my opinion it was really an interesting interview I had ever attended .
Round #1
The first round was basic C questions.
- Q1: How comfortable are you in C?
Q2: How to know if a system is little endian or big endian?
Q3: Can you write a program to convert big-endian to little-endian?
Q4: What are different storage classes in C?
Q5: What is the default scope of a function?
Q6: What is the role of a static variable?
Q7: Why volatile keyword is used?
Q8: When you do malloc() you need to pass the number of bytes that you require. But when you call free() you only pass the pointer. So, how the free() call detects how many bytes to free?
Q9: What is structure padding and why is it used?
This was a short round and contain some generic and some specific questions to topics I have worked on my career.
- Q1: Explain PCI bus.
Q2: How PCI enumeration is done?
Q3: Do we need a stack to work with?
Q4: How the stack works?
Q5: Tell me what are the following declarations:
- void (*func) (int)
int *(*func)[10] (int)
int *(*func[10]) (int *)
No comments:
Post a Comment