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

wats the diference btwen constant pointer and pointer to a
constant.pls give examples.

Answer Posted / jose j pothoor

I see ur explanation...then what would be the answer of
below program

void main()
{
int const *p=5;
printf("%d",++(*p));
}
a)5
b)6
c) Run time error
d) Compiler error

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I delete a file?

1051


What is the use of static variable in c?

1080


What is volatile variable in c?

1079


What are the Advantages of using macro

1154


Tell me when is a void pointer used?

1157


Explain why can’t constant values be used to define an array’s initial size?

1341


What does 1f stand for?

1139


How to find a missed value, if you want to store 100 values in a 99 sized array?

1398


What is the c value paradox and how is it explained?

1034


Is main is a keyword in c?

1117


What is the difference between mpi and openmp?

1265


What is indirection in c?

1056


What is variable initialization and why is it important?

1234


How can a number be converted to a string?

1307


What is the difference between int main and void main in c?

1155