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 / gopinath das

All the above answers are wrong.

There is no difference between int *x and int* x;
Also there is no agreement on waht is the best practice. It
depends on the organizations coding standard.
Even we can write int*x. But this is not a good practice.

Is This Answer Correct ?    31 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a sequence in c++?

972


Explain dangling pointer.

1091


What is input operator in c++?

999


How the delete operator differs from the delete[]operator?

1066


Explain the properties and principles of oop.

982


What is abstract class in c++?

1007


What is an iterator class in c++?

1108


What is the difference between passing by reference and passing a reference?

1043


What are the benefits of operator overloading?

1174


Is c++ the best programming language?

985


What is a manipulator in c++?

1187


What is class invariant in c++?

1196


What do c++ programmers do?

1025


When is the copy constructor called?

1101


What are register variables?

1102