what is the difference between static variable and register
variable?
Answer Posted / amit
static variable stored in RAM where as register variable
stored in CPU's register ,
we can find address of static variable which is not
possible in case of register variable
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
How can I get back to the interactive keyboard if stdin is redirected?
What is the difference between āgā and āgā in C?
code for replace tabs with equivalent number of blanks
What are the two types of functions in c?
What is a far pointer in c?
What is the benefit of using #define to declare a constant?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is the difference between break and continue?
What are the differences between new and malloc in C?
How does pointer work in c?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is use of #include in c?
What is header file in c?