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 thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is merge sort in c?
What is an expression?
value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?
What is the difference between new and malloc functions?
Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
What are the properties of union in c?
Do you know what is the purpose of 'extern' keyword in a function declaration?
What is #ifdef ? What is its application?