Forum

Scope Resolution Operator in C++

This thread contains 1 reply, has 2 voices, and was last updated by Test 5 years ago.

  • Author Replies
    • #55919

      What is Scope Resolution Operator in C++?


    • #55921

      Scope Resolution Operator is used to get hidden names due to variable scopes so that you can still use them.

      It used for the following purposes.

      1) To access a global variable when there is a local variable with the same name.
      2) To define a function outside a class.
      3) To obtain a class static variables.

      Scope resolution operator also used as

      (i) Unary
      (ii) Binary


Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.

GET FREE CONSULTATION

Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.

SUBSCRIBE TO OUR NEWSLETTER

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha