There is no ordering between the increment and the dereference. However, the *
operator applies to the result of p++
, which is the original value of p
prior to the increment.
More Related Contents:
- What is the "–>" operator in C/C++?
- "." or "->" C struct accessor [duplicate]
- Logic behind sizeof operator [duplicate]
- which is faster assigning a number to the variable or changing the value of that variable either by adding or subtracting some number?
- How to work with a variable number of variables in C?
- What does the ??!??! operator do in C?
- What does the comma operator , do?
- What’s the difference between “mod” and “remainder”?
- What is short-circuit evaluation in C?
- Why is sizeof considered an operator?
- !! c operator, is a two NOT?
- The ternary (conditional) operator in C
- What does i = (i, ++i, 1) + 1; do?
- Precedence of && over || [duplicate]
- What does =+ mean in C?
- “&&” and “and” operator in C
- What does =+ (equals-plus) mean in C?
- In C, what is the difference between `&function` and `function` when passed as arguments?
- What is ‘:-!!’ in C?
- sscanf Beginner in C
- Sum of the all the numbers between a and b [closed]
- Overriding ‘malloc’ using the LD_PRELOAD mechanism
- Fast computing of log2 for 64-bit integers
- Program to print permutations of given elements [closed]
- Compiler using local variables without adjusting RSP
- Use of cudamalloc(). Why the double pointer?
- Heap allocate a 2D array (not array of pointers)
- How is sleep implemented at the OS level?
- Range of signed char
- StackWalk64 on Windows – Get symbol name