LeCoupa / awesome-cheatsheets

👩‍💻👨‍💻 Awesome cheatsheets for popular programming languages, frameworks and development tools. They include everything you should know in one single file.
https://lecoupa.github.io/awesome-cheatsheets/
MIT License
38.36k stars 6k forks source link

C cheatsheet typo #379

Open shanike opened 2 months ago

shanike commented 2 months ago

https://github.com/LeCoupa/awesome-cheatsheets/blob/559d03ecf3db1450a19a0fb5f4b6ba3394a4eae0/languages/C.txt#L205 Was meant to be "only parameters passed by address can be modified"? or "only parameters passed by address are modified"?

Context: Function definition in the C language

adityanarayanan343 commented 1 month ago

If the parameter is passed by reference the original values will be modified in the functions whereas if it is passed by value, the compiler will duplicate the parameters as a local variable for the function and then delete it once it is out of the scope