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 is data structure in c programming?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Is c is a middle level language?
Tell us two differences between new () and malloc ()?
How do I read the arrow keys? What about function keys?
Where is c used?
What are the preprocessor categories?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Write a program that accept anumber in words
How can I find out how much free space is available on disk?
how to build a exercise findig min number of e heap with list imlemented?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
How do I get a null pointer in my programs?
Explain modulus operator. What are the restrictions of a modulus operator?
What are pointers?