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 r callback function?

1 Answers  


Tell about strtok & strstr functions

2 Answers   HCL, iFlex, Motorola,


hi , please send me NIC written test papers to sbabavalli@gmail.com

0 Answers   NIC,


What is preprocessor with example?

0 Answers  


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

0 Answers  


What is array in c with example?

0 Answers  


How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?

2 Answers  


What is the difference between a structure and a union?

2 Answers  


1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.

2 Answers  


How can you draw circles in C?

0 Answers   Accenture,


main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }

4 Answers   Vector,


Which control loop is recommended if you have to execute set of statements for fixed number of times?

0 Answers  


Categories