Example 2. Use of the restrict Type Qualifier With Pointers

void func1(int * restrict a, int * restrict b) { /* func1's code here */ }

Example 3 illustrates using the restrict keyword when passing arrays to a function. Here, the arrays c and d must not overlap, nor may c and d point to the same array.