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

Is there any difference between dlearations int* x and int
*x? If so tell me the difference?

Answer Posted / debendra nath tiwary

there is no difference between them here.
but difference comes how we use them.
(int*) can be used for typecasting.
(int *x) is used for declaration purpose. here x is declared as pointer variable.
even if declare like (int* x) is valid but not a formal way to
to declare pointer variable.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is string an object in c++?

1212


Explain the pure virtual functions?

1171


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

2628


Is python better than c++?

1087


What is c++ and its uses?

1297


Explain about templates of C++.

1202


What is the latest version on c++?

1183


Why is c++ a mid-level programming language?

1084


What is a singleton c++?

1046


What do you mean by early binding?

1131


What are the uses of typedef in a program?

1133


Can I make ios apps with c++?

1097


What does namespace mean in c++?

1142


Is c++ an oop?

1193


Refer to a name of class or function that is defined within a namespace?

1157