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

Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

1084


What are static variables in c?

1027


How can I make it pause before closing the program output window?

989


what is the different bitween abap and abap-hr?

2213


What is #error and use of it?

1195


I came across some code that puts a (void) cast before each call to printf. Why?

1152


What is c preprocessor mean?

1238


Using which language Test cases are added in .ptu file of RTRT unit testing???

4216


How can I write a function analogous to scanf?

1098


When should a type cast be used?

964


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1476


Difference between constant pointer and pointer to a constant.

1064


What are the similarities between c and c++?

1001


FILE PROGRAMMING

2178


Tell us something about keyword 'auto'.

1010