In which area global, external variables are stored?
Answer Posted / vishnu
Global variables if not initialised when decleared then it
will be stored in BSS(Block Segmented by Symbol). If it is
initilised then it will be stored in Data area.
Extern variables are stored int Data area.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
Explain what are global variables and explain how do you declare them?
in linking some of os executables are linking name some of them
What is the difference between void main and main in c?
Explain the difference between structs and unions in c?
What is the use of the function in c?
Explain what is a program flowchart and explain how does it help in writing a program?
explain how do you use macro?
What is #line used for?
Compare interpreters and compilers.
Why do we use c for the speed of light?
How can I find the modification date of a file?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
When should volatile modifier be used?
What does the function toupper() do?