what is difference between array of characters and string
Answer Posted / punit shukla,hbti-kanpur
1.major difference is: string will have static storage
duration, whereas as a character array will not, unless it
is explicity specified by using the static keyword.
2.Two strings of same value[1] may share same memory area
bt not in the case of char arrays
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What does c in a circle mean?
Are bit fields portable?
What is the return type of sizeof?
How can I do graphics in c?
Describe the modifier in c?
What is sizeof in c?
What are the applications of c language?
What is logical error?
Why clrscr is used in c?
What would be an example of a structure analogous to structure c?
What is putchar() function?
write a program to print largest number of each row of a 2D array
what is the role you expect in software industry?
Why doesnt that code work?
find out largest elemant of diagonalmatrix