• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Why is the answer 5?...i thought it should be 7 please explain!

Var x = 5; Var y = x++; Var z = y++;

variable
8th Sep 2019, 4:38 PM
Oladayo Ahmod
Oladayo Ahmod - avatar
1 Answer

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Should i learn python more or HTML?
2 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
C++ Vectors
0 Votes
Is it good for student to study C++ first?
0 Votes
Active learner
0 Votes
Code challenge
0 Votes
A Little Question Here!
1 Votes
Does solving a code coach actually give XPs?
2 Votes
(Resolved) Error: Gcc undefined reference to sha 256 đŸ™„đŸ€ŠđŸœâ€â™€ïž
1 Votes
Loop
0 Votes