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...

const char *
char * const
What is the differnce between the above tow?.

Answer Posted / subbu

answer is opposite to above answer
first case is constant pointer means that the address which
is assigned at the time of decalaration can not be changed
yet.
in the second case it is pointer to a constant, means the
value stored at that particular address cannot be changed

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how logic is used

1976


What is the use of gets and puts?

1035


Are there namespaces in c?

1133


What are unions in c?

1031


What are the standard predefined macros?

1148


What is realloc in c?

1120


Can we initialize extern variable in c?

1140


If you know then define #pragma?

1111


Write the control statements in C language

1211


What is a #include preprocessor?

1161


What is a built-in function in C?

1607


How can I read/write structures from/to data files?

976


swap 2 numbers without using third variable?

1138


What is this infamous null pointer, anyway?

1061


What is structure pointer in c?

1061