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 disadvantage of using macros?

1 Answers   Wipro,


IS Doon college of Engn.. has good faculty

1 Answers  


write a program to fined second smallest and largest element in a given series of elements (without sorting)

9 Answers   Yahoo,


write a prgram of swapping with 2 valiables

6 Answers  


What are pointers? What are different types of pointers?

0 Answers   Fidelity,






What is data type long in c?

0 Answers  


parkside's triangle.. create a program like this.. enter the size: 6 enter the seed: 1 output: 1 23 456 7891 23456 789123 sample2: enter the size: 5 enter the seed: 3 output: 3 45 678 9123 45678 parkside should not exceed 10 while its seed should only be not more than 9..

4 Answers  


Write a program to find the given number is odd or even without using any loops(if,for,do,while)

4 Answers   CNC, Gokul,


Write a small C program to determine whether a machine's type is little-endian or big-endian.

5 Answers   nvidia,


What is a built-in function in C?

1 Answers  


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type

7 Answers  


Categories