what is the difference between static variable and register
variable?

Answer Posted / koti pendem

static variables stored in initialised data segment,where as
register variables stored in registers

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is reason of your company position's in india no. 1.

1970


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

879


What is difference between static and global variable in c?

764


What is const keyword in c?

948


How #define works?

848


Explain about the constants which help in debugging?

1086


Explain that why C is procedural?

898


What is %g in c?

833


Explain high-order bytes.

883


How many header files are in c?

754


Why array is used in c?

769


What is the function of volatile in c language?

877


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

857


What are the advantages of using Unions?

849


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

2002