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 / vikram

char a[]="string" refers that string has constant length and it will reserve fixed memory while in case of char *a="string" the string has variable length

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the indirection operator and the address of oper-ator?

1053


What are the classes in c++?

1053


What is c++ namespace?

1143


What is bubble sort c++?

956


What is the role of C++ shorthand's?

1224


Can a program run without main in c++?

1126


Why main function is special in c++?

1057


What is math h in c++?

1095


Who invented turbo c++?

1016


What is vector processing?

1113


Explain the pure virtual functions?

1053


What is pointer -to-members in C++? Give their syntax?

984


describe private access specifiers?

1133


Why can templates only be implemented in the header file?

1060


What do you mean by funtion prototype?

1001