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

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


Please Help Members By Posting Answers For Below Questions

What does c mean in standard form?

1168


Explain how can I convert a string to a number?

1090


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

1195


Which one would you prefer - a macro or a function?

1074


Why can’t we compare structures?

1265


What is scope of variable in c?

1038


what is bit rate & baud rate? plz give wave forms

1976


Can a program have two main functions?

1118


What is modeling?

1046


Why is not a pointer null after calling free?

1016


Why double pointer is used in c?

1033


How do we declare variables in c?

1058


In a switch statement, what will happen if a break statement is omitted?

1059


What is the role of this pointer?

1068


Is null valid for pointers to functions?

1166