0
Why adress sign is not used to store data in string variable?
Generally we use (& ) for storing data in variables but not for strings
1 Odpowiedź
+ 2
Because a C string is a char array. And when an array is passed to functions, a pointer that refers to the array's first element is passed instead. Since that pointer carries an address, it is in itself sufficient.
Hth, cmiiw