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

What is algorithm in c++ programming?

1131


What are protected members in c++?

1136


What are vectors used for in c++?

1079


What is the difference between *p++ and (*p)++ ?

1364


Difference between pointer to constant and constant pointer to a constant. Give example.

1128


What are containers in c++?

995


Why was c++ made?

1110


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

1135


Difference between overloaded functions and overridden functions

1061


What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal

1179


What is the output of the following program? Why?

1146


What is the limitation of cin while taking input for character array?

2085


What is the difference between containment and delegation?

1336


How does c++ structure differ from c++ class?

1140


What is the difference between public and private data members?

1181