Skip to Main Content
Introduction to Computational Modeling Using C and Open-Source Tools
book

Introduction to Computational Modeling Using C and Open-Source Tools

by Jose M. Garrido
November 2013
Intermediate to advanced content levelIntermediate to advanced
461 pages
12h 1m
English
CRC Press
Content preview from Introduction to Computational Modeling Using C and Open-Source Tools
Chapter 9
Pointers
9.1 Introduction
Programming languages such as C and C++ support pointers that allow a much
more powerful and flexible manner to manipulate data structures. These data struc-
tures are mainly arrays and linked lists, which can handle large number of values in
data collections.
In some cases, using pointers is much more convenient for handling variables
and arrays. There are several computational tasks that can only be performed with
pointers, such as dynamic memory allocation. Other computational tasks are also
performed more easily with pointers.
9.2 Pointer Fundamentals
Every variable is stored in a particular memory location (allocated ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computer Fundamentals and Programming in C (RMK)

Computer Fundamentals and Programming in C (RMK)

Anita Goel, Ajay Mittal

Publisher Resources

ISBN: 9781482216783