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

Difference between prefix and postfix forms of the
++operator?

Answer Posted / uday ray

They behave differently when they are used in expressions on
the right hand side of an assignment statement. A prefix
operator first adds 1 to the operand and the result is
assigned to the variable on left. On the other hand, a post
fix operator first assign the value to the variable on left
and then increments the operands.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tree node in java?

967


How garbage collection is done in java?

1056


What are the types of methodology?

1106


Why for each loop is used?

1014


How to check if a list is sorted in java?

1037


Is void a data type in java?

993


What is the basic of java?

1028


What lambda means?

1008


Explain about main thread in java?

1090


Difference between static binding and dynamic binding?

1114


Explain what do you mean by functional overloading in java?

1023


How to optimize the javac output?

1023


How does class forname work in java?

967


Why java is call by value?

1035


What is the function of character?

1053