In which area global, external variables are stored?
Answer Posted / samrat
Global & static variables are stored in data segment.
If we look at other types.. Local Variables are stored in the Stack. Register variables are stored in Register.
Dynamically allocated memory uses the Heap. Instructions are stored in code segment and the extern variables are stored in the data segment.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is binary tree in c?
c program for searching a student details among 10 student details
Is sizeof a keyword in c?
What is a newline escape sequence?
What are the types of data types and explain?
What is the value of uninitialized variable in c?
How do you do dynamic memory allocation in C applications?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Why ca not I do something like this?
What is multidimensional arrays
What is the significance of an algorithm to C programming?
C language questions for civil engineering
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What are structural members?
What is exit() function?