Consider the following code snippet :
 var c = counter(), d = counter(

Home | Discussion Forum
Taiyari24Hour

Consider the following code snippet :

 var c = counter(), d = counter();
c.count()
d.count()
c.reset()
c.count()
d.count()

The state stored in d is :



View More Related Question

2) Consider the following code snippet

o.m(x,y);

Which is an equivalent code for the above code snippet?

3) Consider the following code snippet :

 var c = counter(), d = counter();
c.count()
d.count()
c.reset()
c.count()
d.count()

The state stored in d is :

4) A function with no return value is called

5) What is the purpose of a return statement in a function?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.