About 2,380,000 results
Open links in new tab
  1. c - What is the difference between ++i and i++? - Stack Overflow

    Aug 24, 2008 · In C, what is the difference between using ++i and i++, and which should be used in the incrementation block of a for loop?

  2. java - What's the difference between --i and i--? - Stack Overflow

    May 27, 2013 · In some code i've seen a for loop with a --i as third parameters for(int i=array.length; i<0; --i) Maybe someone can explain me the difference with i-- ? i guess it's …

  3. Windows Batch script - what does %%i mean? - Stack Overflow

    Dec 4, 2014 · I wrote (using knowledge from Internet) script (batch file) to remove all folders and files inside a folder. DEL /F /Q /S C:\\commonfiles\\* for /D %%i in ("C ...

  4. ruby - What do `?i` and `?-i` in regex mean? - Stack Overflow

    Jul 5, 2014 · Taken directly from ruby docs. The end delimiter for a regexp can be followed by one or more single-letter options which control how the pattern can match. /pat/i - Ignore case …

  5. What is the difference between i++ & ++i in a for loop?

    The way for loop is processed is as follows 1 First, initialization is performed (i=0) 2 the check is performed (i < n) 3 the code in the loop is executed. 4 the value is incremented 5 Repeat steps …

  6. node.js - throw new TypeError (`Missing parameter name at $ {i ...

    Apr 3, 2025 · You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation …

  7. How do I determine the source branch of a particular branch?

    I have a branch in git and want to figure out from what branch it originally was branched and at what commit. Github seems to know, since when you do a pull request it usually automatically …

  8. Is there a performance difference between i++ and ++i in C?

    Even though the performance difference is negligible, and optimized out in many cases - please take note that it's still good practice to use ++i instead of i++. There's absolutely no reason not …

  9. operators - javascript i++ vs ++i - Stack Overflow

    Jul 7, 2016 · In javascript I have seen i++ used in many cases, and I understand that it adds one to the preceding value:

  10. How do I squash my last N commits together? - Stack Overflow

    You can do this fairly easily without git rebase or git merge --squash. In this example, we'll squash the last 3 commits: git reset --soft HEAD~3 If you also want to write the new commit message …