What are volatile variables?
Answer / manoj
Volatile variable will be used when we are dealing with
external memory, external device and interrupt service
routine. In these situation if some variable needs update
or gets update without user knowledge in that case variable
should be declared as VOLATILE. otherwise we may loose
these update.
| Is This Answer Correct ? | 8 Yes | 1 No |
How to avoid structure padding in C?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Compare interpreters and compilers.
What is realloc in c?
What is the purpose of #pragma directives in C?
c program to compute Income tax and Net Salary for its employees. The company offers tax relief of Kshs. 650 for single employees and Kshs. 1,100 for married employees. The relief will be deducted from the Gross salary, to give the taxable income. This will be computed at the following rates: [10mks] Taxable Income Rate (%) <5000 0 5000-19999 6 20000-36999 9 37000 and above 16
write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};
what is the difference between global variable & static variable declared out side all the function in the file.
What are multidimensional arrays?
What are data breakpoints?
int a=1,b=2,c=3; printf("%d,%d",a,b,c); What is the output?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?