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
What is maximum size of array in c?
What is the use of pointers in C?
Which is better malloc or calloc?
Are enumerations really portable?
Explain the array representation of a binary tree in C.
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What is the difference between variable declaration and variable definition in c?
what is the syallabus of computer science students in group- 1?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Explain what are global variables and explain how do you declare them?
What is the use of sizeof?
Explain void pointer?
Explain what does a function declared as pascal do differently?
When is a “switch” statement preferable over an “if” statement?
Can you mix old-style and new-style function syntax?