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 / steve

I think there is no difference.
Also,

Case 1:
int* x,y,z;

and

Case2:
int *x,y,z;

these two cases are exactly same.
In both cases, y and z are not pointers. They are int.

Is This Answer Correct ?    32 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stacks?

1007


what is a class? Explain with an example.

1096


Can c++ do everything c can?

998


What is a class template in c++?

999


Is there any function that can skip certain number of characters present in the input stream?

1009


Write a function to find the nth item from the end of a linked list in a single pass.

919


Why are pointers used?

942


What is virtual methods?

1073


What it is and how it might be called (2 methods).

1091


What are the types of pointer?

1033


What is setbase c++?

1049


Differentiate between realloc() and free().

978


If there are two catch statements, one for base and one for derived, which should come first?

986


Why do we use classes in c++?

996


What are enumerations?

1048