Restrict in C and C++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Restrict in C and C++

Restrict in C What is Restricted pointer in C? Why she need?

21st Aug 2019, 6:30 AM
Ахан
Ахан - avatar
1 Answer
+ 2
Basically, the restrict keyword is used to limit the effects of pointer aliasing to optimize the code. This keyword is not part of C++ standard For more info, you can refer to https://en.m.wikipedia.org/wiki/Restrict
21st Aug 2019, 6:54 AM
Agent_I
Agent_I - avatar