Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In C, a data abstraction and the operations that perform on it are declared separately—that is, there is no language-supported relationship between data and functions. We speak of this method of programming as procedural, driven by a set of algorithms divided into task-oriented functions operating on shared, external data. For example, if we declare a struct Point3d, such as the following:
typedef struct point3d
{
float x;
float y;
float z;
} Point3d;