-2
  • I'm a junior C programmer.I don't understand the restrict keyword.Can you simply explain?Thanks for help.
Krasnyy
  • 1
  • 4

1 Answers1

0

The restrict keyword basically says the pointer is not overlapping with the other one (you need to have 2 pointers for this to work), that way the compiler can skip some checks and optimize your code better.

Jiří Velek
  • 153
  • 2
  • 12