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

in the first case it is pointer to a constant (i.e the
address can be changed ,where as the content/value in that
address cannot be changed).
In the later case it is a constant pointer (i.e the address
cannot be changed ,where as the content/value in that
address can be changed).

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what math functions are available for integers? For floating point?

1073


Do you know the difference between malloc() and calloc() function?

1016


What is the difference between malloc() and calloc()?

1716


What are structure types in C?

1055


What is the meaning of typedef struct in c?

1012


What is the purpose of the preprocessor directive error?

1213


What is an lvalue in c?

1078


Suggesting that there can be 62 seconds in a minute?

1004


What is function prototype in c language?

992


Explain the use of bit fieild.

1102


What is the difference between single charater constant and string constant?

1044


What are the 4 types of programming language?

1067


What is the size of a union variable?

1010


What is operator promotion?

1020


What is the role of && operator in a program code?

1030