Answer: b
Explanation: Using comma operator, we can include more than one statement in the initialization and iteration portion of the for loop. Therefore both ++i and j = i + 1 is executed i gets the value – 0,1,2,3,4 & j gets the values -0,1,2,3,4,5.
output:
$ java comma_operator.java
$ java comma_operator
6
Explanation: Using comma operator, we can include more than one statement in the initialization and iteration portion of the for loop. Therefore both ++i and j = i + 1 is executed i gets the value – 0,1,2,3,4 & j gets the values -0,1,2,3,4,5.
output:
$ java comma_operator.java
$ java comma_operator
6
👏1
How to detect dead code in a frontend project
https://blog.logrocket.com/how-detect-dead-code-frontend-project/
https://blog.logrocket.com/how-detect-dead-code-frontend-project/
Creating a Firework Effect with CSS
https://alvaromontoro.com/blog/68002/creating-a-firework-effect-with-css
https://alvaromontoro.com/blog/68002/creating-a-firework-effect-with-css
8 common React error messages and how to address them
https://blog.logrocket.com/8-common-react-error-messages-how-address-them/
https://blog.logrocket.com/8-common-react-error-messages-how-address-them/