SLAU132V October 2004 – February 2020
void func1(int * restrict a, int * restrict b)
{
/* func1's code here */
}
Example 2 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.