adplus-dvertising
frame-decoration

Question

Which operator is used for accessing global variables if the local variable of same name exists in the code?

a.

Unary scope resolution operator

b.

Accessing resolution operator

c.

Ternary resolution operator

d.

None of them

Answer: (a).Unary scope resolution operator

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which operator is used for accessing global variables if the local variable of same name exists in the code?