Why strings need no dereferencing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
14th Nov 2018, 9:36 AM
Sachin Shivaji Doddamani
Sachin Shivaji Doddamani - avatar
2 Answers
0
because derefercing it you get a character instead of a char array.
14th Nov 2018, 11:38 AM
Bebida Roja
Bebida Roja - avatar
0
I suppose it would be 1st char of string.But we still dereference an array pointer of int.why not char?
14th Nov 2018, 12:59 PM
Sachin Shivaji Doddamani
Sachin Shivaji Doddamani - avatar