Q. In the following code, what value should the variable "a" contain?
Code:
var x =counter(), y = counter(); x.count() y.count() x.reset() x.count() y.count()
β
Correct Answer: (C)
2
var x =counter(), y = counter(); x.count() y.count() x.reset() x.count() y.count()
You must be Logged in to update hint/solution