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

Where must the declaration of a friend function appear?

962


Should I learn c or c++ first?

1127


Do vectors start at 0?

991


Explain mutable storage class specifier.

1092


What is the fastest c++ compiler?

1110


Is it possible for a member function to delete the pointer, named this?

1168


How would you use the functions randomize() and random()?

1083


How many static variables are created if you put one static member into a template class definition?

1048


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

1135


What is the sequence of destruction of local objects?

980


What does flush do?

992


What are dynamic type checking?

1045


What is polymorphism in c++? Explain with an example?

1037


Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be

1420


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1089