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 a node class in c++?

1067


What is meant by entry controlled loop? What all C++ loops are exit controlled?

1079


What are the rules about using an underscore in a c++ identifier?

1179


What are the operators in c++?

1114


What is :: operator in c++?

1048


What are punctuators in c++?

1157


What is setw manipulator in c++?

1074


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

1092


What is basic if statement syntax?

1081


What is abstraction in c++?

1349


Explain container class.

1232


Does c++ have a hash table?

994


Write is a binary search tree? Write an algo and tell complexity?

1023


How to implement is-a and has-a class relationships?

1021


Is it possible to get the source code back from binary file?

1355