Javascript Quiz: How Well Do You Know ++ operator in Javascript

Опубликовано: 04 Октябрь 2024
на канале: Programming Geek
23
7

Are you ready for another code challenge? Join me in this video as you test your coding knowledge with the simple quiz questions.

Don't forget to make your guess in the comments below.

-------------------------------------------------------------------------------------------

🔔Like and subscribe for more videos. 🔔

Connect me on linkedin :
https://www.linkedin.com/in/meenakshilodhi...
https://www.linkedin.com/in/rk-barnwal23/
------------------------------------------------------------------------------------------

Answer: OPTION:- B) 6 5

Explanation:
The ++ operator increments the value of a after it is assigned to b. So b gets the value of the original a (5), and a is then incremented to 6.