Check out example codes for "C why is is & nit used in scan f fr string". It will help you in understanding the concepts better.

Code Example 1

/*
‘&’ is used to get the address of the variable. 
C does not have a string type, String is just an array of 
characters and an array variable stores the address of the 
first index location.
*/

Learn ReactJs, React Native from akashmittal.com