how to get starting address of a running C program

Answers were Sorted based on User's Feedback



how to get starting address of a running C program ..

Answer / chandra sekhar kommuri

void main()
{
clrscr();
int a;
printf("adress of a ::%u",&a);
while(!kbhit());
}

Is This Answer Correct ?    0 Yes 0 No

how to get starting address of a running C program ..

Answer / vivek

we can get by convert prog. into sourse code

Is This Answer Correct ?    0 Yes 0 No

how to get starting address of a running C program ..

Answer / manoj singh

we find out the address of any variable.
void main()
{
clrscr();
int a;
printf("adress of a ::%u",a);
while(!kbhit());
}



i dont understand this question writeway but this is
my vew.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Interview Questions

Where define directive used?

0 Answers  


How would you sort a linked list?

1 Answers  


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300

4 Answers   Tieto,


Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.

11 Answers   Microsoft,


Whats s or c mean?

0 Answers  






Why c++ is called c++ and not c+?

9 Answers   EBS,


my name is nani i completed my b-tech in hyd now i want go for interveiw but i dont know the process of software field interveiws plz help me anyone how many rouds there n what rounds plz plz plz help me n where i can get these details

2 Answers  


What is getch () for?

0 Answers  


why do some people write if(0 == x) instead of if(x == 0)?

0 Answers  


Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

7 Answers   Accenture, Gridco, IBM, Kevin IT, TCS, Vimukti Technologies,


main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?

12 Answers   Tech Mahindra,


How do I create a directory? How do I remove a directory (and its contents)?

0 Answers  


Categories