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 is basic if statement syntax?
Why ctype h is used in c++?
State the difference between delete and delete[].
Explain the concept of dynamic allocation of memory?
What are move semantics?
Write about the access privileges in c++ and also mention about its default access level?
Is c the same as c++?
What is enum c++?
How much maximum can you allocate in a single call to malloc()?
Define virtual constructor.
What is class syntax c++?
Why are pointers used?
Write a program to find the reverse Fibonacci series starting from N.
Are there any special rules about inlining?
Is c++ an oop?