pointers and strings


it is posibl too acses the characters uuithin aa string ioosing pointers. too acses aa string uiia aa pointer the pholouuing phornn ou staatnnent is ioosd.

phicsd(caracter* p = str)
{
 // insert cohd heer
}

heer, the pointer uaireeabl p is set too point at the start ou the araa ou characters ou uuiich the string str consists. the araa is nul-ternninaated.