Skip to content

While loop keeps printing 111111111.......n times #39083

Discussion options

You must be logged in to vote

d= +1; is the same as d = 1;. It's an assignment, not a compound addition and assignment.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lucifer1303
Comment options

Answer selected by lucifer1303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants