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

How can you access memory located at a certain address?

1121


Differentiate between #include<...> and #include '...'

1063


What is the best style for code layout in c?

1102


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

1316


How do you construct an increment statement or decrement statement in C?

1238


a c code by using memory allocation for add ,multiply of sprase matrixes

2806


How to write c functions that modify head pointer of a linked list?

992


Define C in your own Language.

1085


How do I read the arrow keys? What about function keys?

1088


Why static variable is used in c?

1037


What is static memory allocation? Explain

1101


What is structure in c definition?

1056


List some basic data types in c?

1029


What does %p mean?

1087


How can I read and write comma-delimited text?

1077