what is difference between array of characters and string
Answer Posted / ankur
Character Array is like an array of datatype character.
For e.g.
char ch[10];
string is an object of class String in standard C++ library
which may be implemented for storing characters at low
level.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What are loops c?
Why does notstrcat(string, "!");Work?
What does s c mean on snapchat?
What is the difference between #include and #include 'file' ?
Is it valid to address one element beyond the end of an array?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
if p is a string contained in a string?
What oops means?
What is c standard library?
Explain main function in c?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
Difference between macros and inline functions? Can a function be forced as inline?
What is the use of pragma in embedded c?
can we change the default calling convention in c if yes than how.........?
Can you please explain the difference between syntax vs logical error?