Aakash Rao Profile picture
Feb 25, 2022 8 tweets 3 min read Read on X
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 Rao

Aakash Rao 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_codes

May 29, 2023
ChatGPT just got one of its biggest updates yet with (@DanteTheAI)

Upload hundreds of YouTube videos in minutes🤯

Here's how:
It was released to the public a few weeks ago and has already passed over 50,000 users.

And is the fastest way to learn ANYTHING.

Here’s how👇
Step 1. Upload your book/course materials/YouTube video

(This is you training the AI to begin.)

Here is how you do it.👇
Read 6 tweets
May 14, 2023
Learning Web Development - Start with these:

⚡ 300+ Web Development Resources ⚡

A Mega Thread 🧵⇩ Image
📌 Youtube Channels For Learning Web Dev

> Traversy Media
> Web Dev Simplified
> FreeCodeCamp
> Kevin Povell
> Coder Coder
> DevEd
> Fireship
> The Net Ninja
> DevTips
> Programming with Mosh
> Amigos Code
> Google Developers
> Treehouse
Read 22 tweets
May 8, 2023
Start bringing your web development skills to life!

10 HTML & CSS project ideas to Level-up your coding: Image
Before you start building these projects I highly suggest you have some knowledge of HTML & CSS.

Here's a comprehensive guide of absolute minimum CSS you need to know 👇

➊ Recipe Collection:

⬘ A recipe website where you can display different recipes with images, ingredients, and instructions.

⬗ Create individual recipe pages with detailed instructions and ingredients. Image
Read 14 tweets
May 7, 2023
Learning JavaScript? These resources might help 👇

◪ Websites

❯ MDN.​io
❯ JavaScript.​info
❯ FreeCodeCamp
❯ Learn-js. org
❯ htmldog. com/guides/javascript
❯ CodeCademy
❯ Educative
❯ Tutorials Point
❯ Odin Project
❯ samanthaming.​com
❯ Plurasight
◩ Youtube Channels

❯ Freecodecamp
❯ Traversy Media
❯ Ania Kubów
❯ Web Dev Simplified
❯ JavaScript Mastery
❯ James Q Quick
❯ The Net Ninja
❯ Developedbyed
❯ Programming with Mosh
❯ Akshay Saini
❯ Clever Programmer
◪ Blogs

❯ davidwalsh. name/tutorials/javascript
❯ samanthaming
❯ wesbos. com/javascript
❯ 2ality
❯ joshwcomeau. com
❯ robinwieruch. de/blog/
❯ tobiasahlin. com/blog/
Read 5 tweets
May 6, 2023
How to stay consistent while learning to code

A Thread 🧵👇 Image
➊ Set Clear Goals

Trust me!

⬘ Define what you want to achieve in your journey and break it down into smaller, manageable goals

⬗ This will help you stay focused and motivated.

⬙ It could be learning a specific programming language, or completing a coding project.
➋ Create a Learning Schedule:

⬘ Consistency is key!

⬗ Try to Design your own schedule and commit to dedicating regular time to coding practice.

⬙ It could be a few hours each day. Stick to it as much as possible, treating it as a priority.
Read 9 tweets
Apr 10, 2023
⚡Collection of CSS CheatSheets⚡

⤷ CSS Flexbox
⤷ CSS Grid
⤷ CSS Selectors

... And more

A Mega Thread 👇 Image
‣ CSS Flexbox CheatSheet Image
‣ CSS Grid CheatSheet Image
Read 10 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!

:(