what is difference between array of characters and string
Answer Posted / shruti
In case of a string, we cant print each character by
character whereas for arrays of char we can do that.
String is terminated by a NULL character by default.
in array we have to explicitly do that.
| Is This Answer Correct ? | 20 Yes | 16 No |
Post New Answer View All Answers
Why should I prototype a function?
explain what are actual arguments?
Dont ansi function prototypes render lint obsolete?
What is the scope of local variable in c?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
what value is returned to operating system after program execution?
What are the types of i/o functions?
What is include directive in c?
What is the difference between volatile and const volatile?
Explain what is the heap?
find the sum of two matrices and WAP for it.
What is modifier & how many types of modifiers available in c?
What are the basic data types associated with c?
How macro execution is faster than function ?
Compare interpreters and compilers.