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.
Int x.4; // it allocates only 4 bits to x
Char C.6; // it allocates only 6 bits to C;
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.
int n = 6789;
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
Four types of storage classes are there in c.
4.Extern or Global
Const and volatile keywords should not be used together because both are opposite in nature.
A variable is declared as "const" means it's value is not able to be changed but if it is declared as "Volatile" then it is not under control.
Yes structures can be passed to functions by value. Though passing by value has two disadvantages :
1) The charges by the calling function are not reflected
2) Its slower than the pass by reference function call.
It will return a 4 byte address value.
Because -10 is a signed integer(varies from compiler to compiler).