different between string and array
Answers
Answered by
1
In C, a string is just an array of characters (type char), with one wrinkle: a C string always ends with a NUL character. The value of an array is the same as the address of (or a pointer to) the first element; so, frequently, a C string and a pointer to char are used to mean the same thing.
Chin7:
ty
Answered by
2
hope it helps:)......................
..
..
Attachments:
Similar questions