Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1287

Comment by HolyBlackCat on How can I restrict array parameters in C (without making them pointers)?

$
0
0
You understand that (1) and (2) are fully equivalent, right? Even if it turns out it's not possible with the array syntax (nevermind, apparently it's possible, see link above), you could still do int (*__restrict a)[42] instead of int a[10][42] to achieve the same thing.

Viewing all articles
Browse latest Browse all 1287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>