answersLogoWhite

0

The dot member access operator (or, in simple terms, the period) specifies the hierarchy of namespaces.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Which operator is used to indirectly access a member of a struct?

pointer -> fieldname


What is the operator that cannot be overloaded?

There are 5 operators which cannot be overloaded. They are: * .* - class member access operator * :: - scope resolution operator * . - dot operator * ?:: - conditional operator * Sizeof() - operator Note:- This is possible only in C++.


How do you access nembers of a class?

Use the class member access operators. For object references, use the . operator, for pointers, use the -> operator. class obj { public: void foo(){} }; void main() { obj o, *p=&o; o.foo(); // Access member via reference. p->foo(); // Access member via pointer. return( 0 ); }


Which c plus plus operators cannot be overloaded?

1. Member-of operator (.) 2. Pointer-to-member-of operator (.*) 3. Ternary condition operator (?:) 4. Scope resolution operator (::) 5. sizeof operator 6. typeid operator


Why a friend function cannot be used to overload the assignment operator?

Assignment(=) operator is a special operator that will be provided by the constructor to the class when programmer has not provided(overloaded) as member of the class.(like copy constructor). When programmer is overloading = operator using friend function, two = operations will exists: 1) compiler is providing = operator 2) programmer is providing(overloading) = operator by friend function. Then simply ambiguity will be created and compiler will gives error. Its compilation error.


What are special operators in c plus plus?

The only "special" operators in C++ are those that cannot be overloaded. That is; the dot member operator (.), pointer to member operator (.*), ternary conditional operator (:?), scope resolution operator (::), sizeof() and typeof().


You are a former apa member and you need your member number as well as previous ranking and history?

Contact your former League Operator.


How do you access a structure member?

we can access and assign values of the members of a structure in a number of ways. as mentioned earlier, the members themselves are not variables .they should be linked to the structure variables in order to make them meaningful members . for example the word title , has no meaning whereas the phrase 'title of book3' .the link between a members and a variable is established using the members operator '.' which is also known as 'dot operator ' or ' period operator '.for example , book.priceis the variable representing the price of book1 and can be treated like any other ordinary variable


How do you access structure member?

we can access and assign values of the members of a structure in a number of ways. as mentioned earlier, the members themselves are not variables .they should be linked to the structure variables in order to make them meaningful members . for example the word title , has no meaning whereas the phrase 'title of book3' .the link between a members and a variable is established using the members operator '.' which is also known as 'dot operator ' or ' period operator '.for example , book.priceis the variable representing the price of book1 and can be treated like any other ordinary variable


What does montresor produce to indicate that he is a member of the freemasons?

A trowel


What kinds of access can a class member have?

Public, protected and private access members.


How do you get to the clubhouse in AQWorlds without membership?

You cannot. You have to be a member to access the member-only clubhouse.