Hi i need to Acess a variable "int Intval" in the below
mentioned code .How to Access it guys i am waiting for your
reply
Answer Posted / vic
Write a getter method?
int val::getVal() {
return intval;
}
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What happens when you make call 'delete this;'?
What is an adjust field format flag?
What is a null object in c++?
If you don’t declare a return value, what type of return value is assumed?
How do c++ struct differs from the c++ class?
What is data binding in c++?
What's c++ used for?
What is the return value of the insertion operator?
What do you mean by overhead in c++?
You run a shell on unix system. How would you tell which shell are you running?
How many namespaces are there in c++?
Why do we use pointers in c++?
What are literals in C++?
What is the difference between struct and class?
How does the copy constructor differ from the assignment operator (=)?