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 mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
Explain union.
Can we add pointers together?
please send me the code for multiplying sparse matrix using c
What is typedef?
Describe newline escape sequence with a sample program?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
What is memory leak in c?
What is the c value paradox and how is it explained?
How main function is called in c?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Add Two Numbers Without Using the Addition Operator
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
How can I list all of the predefined identifiers?
4. main() { int c=- -2; printf("c=%d",c); }