Logo F2FInterview

Embedded System Interview Questions

Q   |   QA
1234next ››

Pointer use's to reference to value a into int a=10 to memory add this value and 10 is add p value added this data in memory location for p............for reference key is a 

#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;

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. 

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;
}


Interrupt latency refers to the amount of time between when an interrupt is triggered and when the interrupt is seen by software. 

1234next ››

In order to link this F2FInterview's page as Reference on your website or Blog, click on below text area and pres (CTRL-C) to copy the code in clipboard or right click then copy the following lines after that paste into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code: