what can(++)and(--) do in c++ source code?
khader(ldo) 0 Newbie Poster
Recommended Answers
Jump to PostI'm glad that I have the knowledge to help you here ,
++ and -- add +1 or -1 to the variablefor example x++ is equal to x=x+1 and x-- is equal to x=x-1
Jump to PostRead this.
All 6 Replies

ArashVenus
Ancient Dragon commented: Yes! +14
nullptr 167 Occasional Poster
Learner010 99 Posting Whiz in Training
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Learner010 99 Posting Whiz in Training
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured 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.