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


Please Help Members By Posting Answers For Below Questions

Why c is a mother language?

560


How can you tell whether two strings are the same?

836


What do you mean by c what are the main characteristics of c language?

576


What is #include stdio h and #include conio h?

605


Why is not a pointer null after calling free?

600






process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1895


What is use of integral promotions in c?

668


Write a program to swap two numbers without using a temporary variable?

613


What is calloc()?

633


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

677


How can I avoid the abort, retry, fail messages?

665


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

671


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1190


What is a null string in c?

593


What is identifiers in c with examples?

680