php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Member access specifier is a C++ Operator
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Member access specifier is a C++ Operator that is used to access class member functions via the objects belonging to the same class.
For example we have a class, Student......... now we create one of its object like Student astudent;
Now you know very well that "astudent" is an object of class "Student" and let suppose there is a member function like "roll no()" of this class, now if "astudent" wants to access "roll no()" , then, the syntax should be like this.........
astudent. roll no();
You see "." is the member access specifier which act as an operator used to provide access of member function to the object.
Reply


Messages In This Thread
Member access specifier is a C++ Operator - by saneha - 05-02-2011, 06:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  explain this operator -> which is use as headnode->stnext(null); Vuhelper 0 1,804 01-04-2012, 10:26 PM
Last Post: Vuhelper
  Overloaded >> operator not reading more than first line from data file in c++ 2011 Vuhelper 0 986 07-23-2011, 05:38 PM
Last Post: Vuhelper
  Consitional Operator in C++ July 2011 Vuhelper 0 920 07-12-2011, 11:02 PM
Last Post: Vuhelper
  Variable Access Speed in C++ Vuhelper 0 1,106 06-12-2011, 07:23 PM
Last Post: Vuhelper
  C++ access private data members in another class Vuhelper 0 2,034 06-07-2011, 08:26 PM
Last Post: Vuhelper
  arithmetical operator in c++ may 2011 Vuhelper 0 1,809 05-29-2011, 06:18 PM
Last Post: Vuhelper
  What is virtual inheritance,generic algorithmswith,member temples saneha 1 1,915 05-02-2011, 06:34 PM
Last Post: Vuhelper
  why we use member intilizer list.what is benefit of using it. saneha 1 3,460 05-02-2011, 06:29 PM
Last Post: Vuhelper
  What is the concept of having the data member of the same class within it? i.e. class saneha 1 2,302 05-02-2011, 05:54 PM
Last Post: Vuhelper
  Pointers are not accessible for static member funcion saneha 1 2,366 05-02-2011, 05:48 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support