C Program for understanding the concept of Pre-decrement and Post-decrement
 
Output: ( using GNU GCC Compiler with Code Blocks IDE )
After post-decrement: j value: 10 , i value: 9
After pre-decrement: j value: 8, i value: 8