Increment and Decrement operators in C

Опубликовано: 26 Октябрь 2024
на канале: Embedded For All
206
11

Increment operators in C are used to increase the value of a variable by 1. There are two increment operators: ++ (post-increment) and ++ (pre-increment).

Decrement operators in C are used to decrease the value of a variable by 1. Similar to increment operators, there are two decrement operators: -- (post-decrement) and -- (pre-decrement).

https://embeddedforall.com/2023/12/23...

Git Repo: https://github.com/embeddedforallefa/...

C Programming for Embedded Systems: ****   • C Programming for Embedded Systems  
Embedded Systems Development with STM32 - Hands on Tutorials:    • Embedded Systems Development with STM...  
Embedded Linux with Yocto Project -    • Embedded Linux with Yocto Project  
Sense and Act - Building an IoT platform:    • Sense and Act : A Do-It-Yourself IoT ...  
Linux Tutorial - Basics of how to work with Linux:    • Basics of how to work with Linux - Li...  
How to build Linux From Scratch(LFS 11.1):    • How to build Linux From Scratch(LFS 1...  

Follow on:
website: https://embeddedforall.com/
Facebook :   / embeddedforallefa  
Instagram :   / embeddedforallefa  
twitter :   / embeddedfa  
Quora : https://utwoyxsmroclyqof.quora.com/

#cforembeddedsystems, #embeddedsystems, #embedded, #c, #cpp, #embeddedforall, #efa, #iot, #internetofthings, #tutorials, #course, #tutorialforbeginners, #increment, #decrement, #operators