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 ctrl m character?

1008


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

1057


what is a green thread? : Java thread

967


What is abstract class? Explain

1002


Can You Have Virtual Functions In Java?

1104


Does sprintf add a null terminator?

1057


What is threaded programming and when is it used? : Java thread

1036


What is exception hierarchy in java?

979


What is collections framework?

1111


What is regex in java?

919


Difference between == and .equals() ?

962


What are internal and external variables?

922


What is type parameter in java?

922


What is parsing in grammar?

991


What are the types of sockets in java?

1081