what is the first address that gets stored in stack
according to a C or C++ compiler???? or what will be the
first address that gets stored when we write a C source
code????????

Answers were Sorted based on User's Feedback



what is the first address that gets stored in stack according to a C or C++ compiler???? or what w..

Answer / prasant

The function return address is placed on the stack by the
x86 CALL instruction, which stores the current value of the
EIP register.

Is This Answer Correct ?    9 Yes 0 No

what is the first address that gets stored in stack according to a C or C++ compiler???? or what w..

Answer / valli

the return address of function main will be stored in the
stack

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More C Interview Questions

what is the maximum no. of bytes calloc can allocate

4 Answers   Mphasis,


How do you construct an increment statement or decrement statement in C?

0 Answers  


How does pointer work in c?

0 Answers  


what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }

1 Answers   Motorola,


What is #include conio h?

0 Answers  


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

0 Answers  


how to swap 2 numbers in a single statement?

3 Answers  


How is a two dimensional array passed to function when the order of matrix is not known at complie time?

1 Answers   CSC,


What is difference between main and void main?

0 Answers  


Can a void pointer point to a function?

0 Answers  


here is a link to download Let_Us_C_-_Yashwant_Kanetkar

3 Answers   Microsoft,


Why clrscr is used in c?

0 Answers  


Categories