Fundamentals of Programming. Unit 10.
Pointers: Making a long story short.
It is convenient to initialize the array at the beginning of a program.
Designated initializers (ANSI C99).
Variable-length array.
The relationships among addresses, array contents and pointers.
Pointers to multidimentional arrays
A pointer to a pointer.
Using pointer parameters.
What can you do with pointers?
Pointer compatibility.
C const and C++ const.
Using const with formal parameters.
Example #10.1: Protecting array content.
More about const.
Example #10.2: Ordering numbers.
Example #10.3: Shuffling the deck.
Example #10.4: Shellsort, Hoor sort.
Go back to Main Menu
Last Updated 06 Nov, 2018 13:49. <vadimov@i.ua>