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
Does c++ have arraylist?
Is c++ slower than c?
Can we make copy constructor private in c++?
What does it mean to declare a destructor as static?
What are member functions used in c++?
Can a program run without main?
What are the 2 main types of data structures?
What is endl c++?
What are the 4 types of library?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What is ifstream c++?
Which c++ operator cannot overload?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
Can a program run without main function?
What is the difference between global int and static int declaration?