Aakash Profile picture
Feb 25 β€’ 8 tweets β€’ 3 min read
Let's review this question & try to understand what's the logic behind it....

Let's go.......... πŸ”₯πŸ”₯πŸ”₯

πŸ§΅β†“

Before jumping onto the answer, Let's understand what is "Increment" Operator (++)

The increment operator (++) increments (adds one to) its operand and returns a value.

Let's try to understand with an example ↓

{1/6}
Now you know ++ operator, Let's understand what is "Postfix" & "Prefix" Increment.

β€’ Prefix Increment (++a) - It (adds one to) its operand and "then" returns a value.

Let's see a quick example ↓

{2/6}
Now you know what is Prefix, Let's see the what is Postfix Increment.

β€’ Postfix Increment (a++) - It return the value first & then (adds one to) its operand.

Let's see a quick example ↓

{3/6}
Let's see a quick difference between both of them ↓

β€’ Prefix: adds up & then return the value.

β€’ Postfix: returns first & then adds up the value.

{4/6}
Let's now see our solution to the problem:-

=> Answer was 26

Let's see how {Part-1} ↓

{5/6}
Problem Solution {Part-2} ↓

{6/6}
That's it for this thread. Hope you liked it. πŸ™ŒπŸΌ

- Hii I'm Aakash. πŸ‘‹πŸ½
- Sharing my journey and learnings. πŸš€

If you liked it, then you can follow me, @Aakash_Codes for more such content & resources.

Thanks for the support.😊

Back to top:-

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Aakash

Aakash Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Aakash__rao

Feb 23
Best stock photo free resources⚑

A Thread🧡 ↓

#100Dev #CSS3 #javascript
πŸ”— Unsplash

The Internet's source of Freely-Usable images. Powered by creators everywhere.

- unsplash. com

{1/7} Image
πŸ”— Pixabay

Over 2.5 million+ High quality stock images, videos & music shared by our talented community.

- pixabay. com

{2/7} Image
Read 9 tweets
Feb 23
4 Awesome websites for Free Background Patterns for Web developers 🀩

A thread 🧡⚑
πŸ”— Paaatterns

- products. ls.graphics/paaatterns/

{1/4} Image
πŸ”— The Pattern Library

- thepatternlibrary. com

{2/4} Image
Read 6 tweets
Feb 22
7 Websites for JavaScript Code Snippets⚑

Thread🧡 ↓
πŸ”— HTML DOM

- htmldom. dev

{1/7} Image
πŸ”— 1LOC

- 1loc. dev

{2/7} Image
Read 9 tweets
Feb 15
HTML Input Types: Every web developer should know.

A thread 🧡
- Type: text
- Type: number
Read 19 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(