how to get starting address of a running C program
Answers were Sorted based on User's Feedback
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 |
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 |
write a c program to find largest of three numbers using simple if only for one time.
Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001
inline function is there in c language?
What is the output from this program? #include <stdio.h> void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }
What is the scope of local variable in c?
how to print this sereis 2 4 3 6 5..........?
Why is it that not all header files are declared in every C program?
how to TOGGLE Nth bit of variable in a MACRO
How to throw some light on the b tree?
What is the difference between mpi and openmp?
Using which language Test cases are added in .ptu file of RTRT unit testing???
What does main () mean in c?