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

what is the difference between postfix and prefix unary
increment operators?

Answer Posted / bhupender

PER FIX UNARY INCREMENT OPERATION IS ++I
POSTT FIX UNARY INCREMENT OPERATION IS i++
WHEN WE USE THIS IN PROGRAM THE RESULT WILL
FOR ++i IS

LIKE TWO VERIABLE INT A=5 AND B=++A+5 THEN
IN RESULT IT SHOWS A =5 BUT B WILL 10(5+5)
BUT IN POST FIX IT
A=5 BUT B= A++ MEANS A+1 AND RESULT FOR B WILL 11

Is This Answer Correct ?    2 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1716


What oops means?

1001


Why c is called object oriented language?

1060


What is a nested loop?

1125


How can you determine the maximum value that a numeric variable can hold?

1233


What is void pointers in c?

1004


Write a program to implement queue.

1111


Differentiate between declaring a variable and defining a variable?

1038


What is meant by type casting?

1052


why we wont use '&' sing in aceesing the string using scanf

2370


What is meant by initialization and how we initialize a variable?

1046


List out few of the applications that make use of Multilinked Structures?

2187


Which are low level languages?

1090


What does emoji p mean?

1113


Why is a semicolon (;) put at the end of every program statement?

1072