please tell me how to find stack and heap address range in C programming

Recommended Answers

All 5 Replies

If you need to know this, you're probably doing something stupid. Perhaps we can help you improve your program's design if you describe what you're trying to do.

If you need to know this, you're probably doing something stupid. Perhaps we can help you improve your program's design if you describe what you're trying to do.

how to do program plz help me

Which operating system?
Which compiler?
Which ....

There's no standard way to find out, nor is there much use that you can make of it even when you know it.

Which operating system?
Which compiler?
Which ....

There's no standard way to find out, nor is there much use that you can make of it even when you know it.

i am using gcc c80 compiler in linux operating system.

Why don't you explain why you need to do this? It is likely there are much better ways of doing whatever it is, unless you are trying to provide a very low level service.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.