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

Are bit fields portable?

0 Answers   EXL,


why the execution starts from main function

9 Answers  


What are macros in C?

2 Answers  


what is void pointer?

1 Answers   Wipro,


Write a Program to print this triangle: * ** * **** * ****** * ******** * ********** use two nested loops.

12 Answers   MIT, TCS,






An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

0 Answers  


#include<stdio.h> { printf("Hello"); } how compile time affects when we add additional header file <conio.h>.

0 Answers  


Which of these functions is safer to use : fgets(), gets()? Why?

0 Answers  


develop algorithms to add polynomials (i) in one variable

0 Answers   Ignou, TCS,


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

0 Answers  


What is the purpose of clrscr () printf () and getch ()?

0 Answers  


44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?

6 Answers   Amdocs,


Categories