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

struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??

9 Answers   Verifone,


How do I use strcmp?

0 Answers  


I have an array of 100 elements, each of which is a random integer. I want to know which of the elements: a) are multiples of 2 b) are multiples of 2 AND 5 c) have a remainder of 3 when divided by 7

1 Answers  


WHY DO WE USE A TERMINATOR IN C LANGUAGE?

2 Answers  


What are logical errors and how does it differ from syntax errors?

0 Answers  


What is the need of structure in c?

0 Answers  


Explain how do you list files in a directory?

0 Answers  


What are run-time errors?

0 Answers  


User define function contain thier own address or not.

2 Answers  


What is floating point exception error? And what are different types of errors occur during compile time and run time? why they occur?

1 Answers  


Which weighs more, a gram of feathers or a gram of gold?

2 Answers  


write a code for large nos multilication (upto 200 digits)

2 Answers   Persistent,


Categories