i need the difference between i++ and ++i, where is i++ used and where ++i is used
mythili_sharon
0
Newbie Poster
Recommended Answers
Jump to PostMmm, a nice looking exam question.
What do YOU know about the difference(s) already.Show us that you've done a bit of work yourself, and that you might learn something (as opposed to simply dumping your homework, then hoping to copy/pasting the answer).
Eg.
Which would you use …
Jump to PostIMO, it's better to understand the concept from a language point of view, than knowing what ONE single implementation does in ONE specific test case.
All 6 Replies
Salem
5,138
Posting Sage
NicAx64
76
Posting Pro
Salem
5,138
Posting Sage
mrnutty
761
Senior Poster
Duoas
1,025
Postaholic
Featured Poster
manishanibhwani
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.