int i;
int *ip1 = &i;
int *ip2 = &i;

Example 1: A simple example of aliasing.

Back to Article