Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

explain memory layout of a C program

Answer Posted / ravindra garg

(Higher Memory Address)

STACK -->Func arguments and return val(locals)
'
'
|
^
'
HEAP --> Dynamic Data

BSS --> Uninitialized Data
(Global and static default to zero)

DATA SEGMENT --> Initilialised data
(Global and static with init vals)

CODE SEGMENT --> Instructions

[Lower Memory Address]

Is This Answer Correct ?    38 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain output of printf("Hello World"-'A'+'B'); ?

1500


What is the difference between ā€˜g’ and ā€œgā€ in C?

4012


Explain the process of converting a Tree into a Binary Tree.

2670


What is keyword with example?

1068


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1174


How do you determine whether to use a stream function or a low-level function?

1127


What is bash c?

1012


Do you know pointer in c?

1053


Explain the use of #pragma exit?

1181


For what purpose null pointer used?

1081


Where define directive used?

1097


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

1163


What is conio h in c?

1049


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5957


how is the examination pattern?

2022