How can I restrict array parameters in C (without making them pointers)? [duplicate]
This question already has answers here: What is the purpose of restrict as size of array? (2 answers) Closed last month. Motivation Array parameters can alias each other, and the compiler must carefully allow for this possibility. Thus, for example: GodBolt int foo(int a[10], int b[10]) { a[0] += b[0]; return a[0] + b[0]; } […]