Pointeur in c | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Pointeur in c

how to manipulate strings using pointeurs

7th Feb 2018, 9:18 PM
‎‏‪‏‪‏‪‏‪‏‪‏‪imam‬‏‬‏‬‏‬‏‬‏‬‏‎
‎‏‪‏‪‏‪‏‪‏‪‏‪imam‬‏‬‏‬‏‬‏‬‏‬‏‎ - avatar
2 Answers
+ 2
When we pass a pointer as an argument instead of a variable then the address of the variable is passed instead of the value. So any change made by the function using thepointer is permanently made at the address of passed variable. This technique is known as call by reference in C.
7th Feb 2018, 9:19 PM
Tim Millar
Tim Millar - avatar
+ 2
i get it thank you its helpful
7th Feb 2018, 9:20 PM
‎‏‪‏‪‏‪‏‪‏‪‏‪imam‬‏‬‏‬‏‬‏‬‏‬‏‎
‎‏‪‏‪‏‪‏‪‏‪‏‪imam‬‏‬‏‬‏‬‏‬‏‬‏‎ - avatar