Skip to content
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login
newlogo of cs Electrical And Elect
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login

What is the difference between i++ and ++i?

All Questions › Category: C Language › What is the difference between i++ and ++i?
0 Vote Up Vote Down
Chetan Shidling asked 5 years ago

I need short information.

1 Answers
0 Vote Up Vote Down
boss answered 5 years ago

The expression such as i++ returns the old value and then it increments, and the expression ++i increments value and then returns a new value.

Proudly powered by WordPress | RealEstate Pack Lite by Wp Theme Space.

WhatsApp us