10.07.2015 Views

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Array Categories• Static: subscript ranges are statically bound and storageallocation is static (before run-time)– Advantage: efficiency – no dynamic allocation/deallocation.– Example: arrays declared as static in C/C++ functions.• Fixed Stack-Dynamic: subscript ranges are staticallybound, but the allocation is done at declaration time (atrun-time)– Advantage: space efficiency – stack space is reused.– Example: arrays declared in C/C++ functions without the staticmodifier.Lecture 068

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!