What is scope resolution operator
Explain what is meant by the term scope resolution operator?
Expert
a) Scope resolution operator is used in order to uncover the hidden variables. It also enables access to the global version of the variables.
For example:
#include<iostream. h> int m=10; // global variable m void main ( ) { int m=20; // local variable m cout<<”m=”<<m<<”\n”; cout<<”: : m=”<<: : m<<”\n”; }
output: 20 10 (: : m access global m)
b) Scope resolution operator is also used in order to describe the function outside the class.
Syntax:
Return type <class name> : : <function name>
Eg:
Void x : : getdata()
All Specifications to be covered according to the paper. Programming to be done only in C,C++ or java
Provide some of the features of the procedure-oriented language.
Explain what are the data members and the member functions?
how to write math server and client socket programming in c++?
Explain the term objects?
Explain what is meant by the term keywords?
Hi this is my assignment for mth 255.My homework assignment is due tommorrow
Explain the meaning of reference variable?
Provide any four benefits of OOPS.
What is meant by an inline function?
18,76,764
1930076 Asked
3,689
Active Tutors
1419841
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!