Static variables can only be accesed in the files were they are declared.
Static variable within the scope of a function store it's values in consecutive calls of that function.
Static functions can only be caled within the file they are defined.
Interrupt latency refers to the amount of time between when an interrupt is triggered and when the interrupt is seen by software.
You can define structure bit field members with Dot operators.
EXAMPLE:
#include <stdio.h>
int main()
{
Struct bit_field
{
Int x.4; // it allocates only 4 bits to x
Char C.6; // it allocates only 6 bits to C;
};
return 0;
}
Embedded system can include RTOS and cannot include also. it depends on the requirement. if the system needs to serve only event sequencially, there is no need of RTOS. If the system demands the parallel execution of events then we need RTOS.
#include<stdlib.h>
#include<stdio.h>
int main()
{
int n = 6789;
char p[20];
itoa(n,s,10);
printf("n=%d,s=%s",n,s);
return 0;
}
Webmaster 22nd of May 2012
Tell us what you feel about Embedded Systems Interview Questions and Answers
All comments will be published after review. No login or registration is required to post a comment on Embedded Systems Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
So start sharing your thoughts regarding Embedded Systems Interview Questions and Answers
Thank you.