Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is difference between array of characters and string

Answers were Sorted based on User's Feedback



what is difference between array of characters and string..

Answer / satyaki paul

In an array,the characters are loosely bound while in a
String ,the characters are comparatively tightly bound

Is This Answer Correct ?    1 Yes 1 No

what is difference between array of characters and string..

Answer / aqi khyber

a character is a single letter,numeral,or punctuation mark,
or other such symbol or special character while a string is
any sequence of all these different types of characters..

Is This Answer Correct ?    0 Yes 0 No

what is difference between array of characters and string..

Answer / afaquie ahmed siddiqui

in case character array,each character is located at
contiguous memory location,we can not print them just by the
name.we have to apply some loop opration.
BUT in case of string,a BLOCK of memory is assign to whole
string,we can print them just by string name with %s.
like...
printf("%s",name of string);

Is This Answer Correct ?    0 Yes 0 No

what is difference between array of characters and string..

Answer / 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

what is difference between array of characters and string..

Answer / ashish pandey

String is a group of character and it is used double
quatation(""), but array of stringis used single
quatation('').

Is This Answer Correct ?    1 Yes 10 No

what is difference between array of characters and string..

Answer / revathy

In terms of C language,
string is nothing but the array of characters.
char a[10] is nothing but a string with 9 characters and a
null..

Is This Answer Correct ?    15 Yes 34 No

what is difference between array of characters and string..

Answer / varsha vilas kalebag

aaray is nothing but set of data type
string is nothing but group of character

Is This Answer Correct ?    34 Yes 55 No

what is difference between array of characters and string..

Answer / rayees ahmad

we can stoore set of names in string,but can store only
charcter's in array

Is This Answer Correct ?    10 Yes 36 No

Post New Answer

More C Interview Questions

write a program to convert a expression in polish notation (postfix) to inline (normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix

0 Answers  


What are the types of type qualifiers in c?

0 Answers  


how to use enum datatype?Please explain me?

3 Answers   Excel,


1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā€œ%dā€,x); --x; } }

7 Answers   CSC,


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

2 Answers   Patni, TCS,


write a addition of two no. program with out using printf,scanf,puts .

4 Answers  


Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?

1 Answers  


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

0 Answers  


Explain what happens if you free a pointer twice?

0 Answers  


Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc

4 Answers  


Can a local variable be volatile in c?

0 Answers  


When was c language developed?

0 Answers  


Categories