Welcome to the Webmaster Forum.
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Senior Member
    Join Date
    Jan 2014
    Location
    Banglore
    Posts
    250

    What is scope resolution operator?

    A scope resolution operator denoted by ( : is used to define the member functions of a class outside the class

  2. #2
    Senior Member
    Join Date
    Dec 2015
    Posts
    253

    Re: What is scope resolution operator?


  3. #3
    Senior Member
    Join Date
    Jan 2016
    Location
    Mumbai
    Posts
    148

    Re: What is scope resolution operator?

    The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping.

  4. #4
    Senior Member
    Join Date
    Jan 2016
    Location
    Mumbai
    Posts
    280

    Re: What is scope resolution operator?

    Scope resolution operator is used to qualify hidden names so that you can still use them. You can use the unary scope operator if a namespace scope or global scope name is hidden by an explicit declaration of the same name in a block or class.

  5. #5
    Member
    Join Date
    Feb 2016
    Posts
    32

    Re: What is scope resolution operator?

    The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping.

  6. #6
    Junior Member
    Join Date
    May 2016
    Posts
    26

    Re: What is scope resolution operator?

    n computer programming, scope is an enclosing context where values and expressions are associated. The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages the scope resolution operator is written "::".

    In some languages, notably those influenced by Modula-3, including Python and Go, modules are objects, and scope resolution within modules is a special case of usual object member access, so the usual method operator . is used for scope resolution. Other languages, notably C++ and Ruby, feature both scope resolution and method access, which interact in various ways

  7. #7
    Senior Member
    Join Date
    May 2016
    Posts
    1,706

    Re: What is scope resolution operator?

    The scope resolution operator recognizes and indicate the setting to which an identifier refers (especially by indicating a namespace). It is basically written as "::".

  8. #8
    Member
    Join Date
    Aug 2015
    Location
    London
    Posts
    69

    Re: What is scope resolution operator?

    The scope resolution operator is use for the Unary scope operator , if a namespace scope or global Scope name is hidden by an explicit declaration of the Name in block or class.

  9. #9
    Member
    Join Date
    Apr 2016
    Posts
    91

    Re: What is scope resolution operator?

    In computer programming, scope is an enclosing context where values and expressions are associated. The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages the scope resolution operator is written

  10. #10
    Member
    Join Date
    Jun 2016
    Posts
    72

    Re: What is scope resolution operator?

    Scope resolution operator(: is used to define a function outside a class or when we want to use a global variable but also has a local variable with same name.

  11. #11
    Junior Member
    Join Date
    Jul 2016
    Posts
    6

    Re: What is scope resolution operator?

    The :: (scope resolution) operator is used to qualify hidden names so that you can still use them. You can use the unary scope operator if a namespace scope or global scope name is hidden by an explicit declaration of the same name in a block or class.

  12. #12
    Member
    Join Date
    Jul 2016
    Location
    Bangalore
    Posts
    41

    Re: What is scope resolution operator?

    The scope resolution operator c++ is used to define already declare member functions of a particular class identify the disambiguate identifier used in different scope.

  13. #13
    Member
    Join Date
    Sep 2016
    Location
    India
    Posts
    30

    Re: What is scope resolution operator?

    The :: (scope resolution) operator is used for following things:
    Access a global variable when there is a local variable with the same name.
    Define a function outside a class.
    Access a class’s static variables.
    In a case of multiple Inheritance.

  14. #14
    Senior Member
    Join Date
    Oct 2016
    Posts
    101

    Re: What is scope resolution operator?

    The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages the scope resolution operator is written "::".

  15. #15
    Senior Member
    Join Date
    Sep 2016
    Location
    Kolkata
    Posts
    153

    Re: What is scope resolution operator?

    Scope resolution operator(: is used to define a function outside a class or when we want to use a global variable but also has a local variable with same name.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. What is Operator? how many opeartor used in the php
    By shaadisan in forum Coding & Programming
    Replies: 33
    Last Post: 08-30-2016, 02:08 AM
  2. Explain ‘variable scope’, ‘local scope’ and ‘global scope’ ?
    By chinmay.sahoo in forum Coding & Programming
    Replies: 3
    Last Post: 04-11-2016, 06:03 AM
  3. By-Reference Assignment Operator
    By chinmay.sahoo in forum PHP
    Replies: 1
    Last Post: 01-21-2016, 09:46 PM
  4. resolution center
    By kai_uk in forum Ebay
    Replies: 1
    Last Post: 10-23-2015, 10:07 PM
  5. New Year resolution
    By kilato in forum General Talk
    Replies: 0
    Last Post: 04-19-2014, 05:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to top

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138