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 the difference between Char a[ ]=”string” and char
*a=”String”

Answer Posted / rajesh kumar

char *p="string" has RO permission while its counterpart char a[]="string" has RW permission.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

1001


which of the following is not an secondary constant a) array b) real c) union

1756


What does it mean to declare a member function as static?

1014


What is the benefit of c++?

1048


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

2046


Show the declaration for a static function pointer.

1006


What is a float in c++?

931


What is the object serialization?

1093


Why c++ does not have finally?

1020


What is token c++?

981


What is the main purpose of overloading operators?

1054


What's the best free c++ profiler for windows?

1031


Can I learn c++ without c?

1090


What are the storage qualifiers?

1105


What are the types of container classes?

1085