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
How was c created?
What is clrscr in c?
code for find determinent of amatrix
Why is c known as a mother language?
How can you find the day of the week given the date?
What is pointer to pointer in c?
Explain how many levels deep can include files be nested?
What is difference between && and & in c?
Can you please explain the scope of static variables?
How do we make a global variable accessible across files? Explain the extern keyword?
Is multithreading possible in c?
Explain the red-black trees?
What is struct node in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is auto keyword in c?