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 / punit shukla,hbti-kanpur

1.major difference is: string will have static storage
duration, whereas as a character array will not, unless it
is explicity specified by using the static keyword.
2.Two strings of same value[1] may share same memory area
bt not in the case of char arrays

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

application attempts to perform an operation?

1969


What is volatile variable in c with example?

1036


How are pointers declared in c?

1057


Differentiate between null and void pointers.

1161


How can you check to see whether a symbol is defined?

1098


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2517


Why does the call char scanf work?

1200


What are bitwise shift operators in c programming?

1074


Write program to remove duplicate in an array?

1074


What is nested structure in c?

1058


Where in memory are my variables stored?

1175


Why c language is called c?

1006


Are there namespaces in c?

1120


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1293


What is the most efficient way to count the number of bits which are set in an integer?

1043