Embedded C Frequently Asked Interview Question

Where Static Variable stored in memory?

In .BSS segment static variable will be stored. Now you may think, What is .BSS segment. BSS segment is part of Data Segment, where all the static variable will be stored.

BSS = Block Started By Symbol

What is Volatile Variable? Why it is used? 

What is different between macro & typedef ? 
Different between macro & inline function? 
Difference between macro & constant ? 
Compilation stage ? Static varible scope ? 
Static function ? 
What is difference between structure & union? 
What are the practical Example of union ? 
Why do you need union? 
What is Constant Volatile?  
What is difference between pointer & arrary ? 
What is different between Structure & arraay ? 
What is pointer to pointer ? 
Why pointer to pointer is being used? 
Can I have pointer to structure in stucture ? Defination of   

What is structure padding? How to avoid it?

What is difference between Inline function & Macro?

What is difference between new & malloc?

Tread Vs Process?

Mutex Vs Shemaphore?

SPI Communication: 

What is difference between array and pointer?
What is union and give example of it?
What is bitwise operator? 
What is little endian and big endian ?
Can char pointer points to an interger variable ?
What is dangling pointer ?
Give example of linker error ?
Mention the all the stages of compilation ? 
Is it possible to points to direct address using pointer ?
What is segmentation error ?
Write some code to have infinite loop ?
What is difference between new and malloc ?
What is function pointer ? define function pointer ?
What is the use of function pointer ?
What is const function pointer ?
What is different between char * const ptr and const char * ptr;
What is array of function pointer ? define it ? 
Can switch case have float as case ?
what is break and continue ? 
What is return type of malloc ?
what is different between union and structure ?
Where static variable will get stored ?
What is return type of printf and scanf function ?
What is the size of macro ?
What is the size of enum ?
Can macro increase the size of code?
What is difference between function and macro ? which is better & when ?
What is the scope and life time of static variable ?
How can i find the size of structure without using size of operator ?
How do I set particular bit of given variable without effecting other bits ?
How do I clear particular bit of given number without effecting other bits ?
How do I count number of set bits in optimized way ?


I2C Communication:

I2C Questions:
Share on Google Plus

About Kapil

"I am Kapil Thakar, an Embedded Engineer cum Blogger wants to learn new things. I love to share my knowledge solutions to the problems. Interested in Blogging, Creative-Writing, SEO, Website Creation, Video Making, Editing, Affiliation Programs, Online Making Money."
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment

Related Posts Plugin for WordPress, Blogger...