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
Can include files be nested?
Why is c used in embedded systems?
What is function prototype in c with example?
Difference between constant pointer and pointer to a constant.
Did c have any year 2000 problems?
what is the structure pointer?
what are the different storage classes in c?
What are the types of type qualifiers in c?
Why do we write return 0 in c?
explain what is a newline escape sequence?
Which is better between malloc and calloc?
Write a program to reverse a linked list in c.
what is the difference between class and unio?
What is 1f in c?
Write a program to print numbers from 1 to 100 without using loop in c?