Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is basic if statement syntax?

1005


Why ctype h is used in c++?

907


State the difference between delete and delete[].

1031


Explain the concept of dynamic allocation of memory?

1043


What are move semantics?

1079


Write about the access privileges in c++ and also mention about its default access level?

1004


Is c the same as c++?

951


What is enum c++?

1145


How much maximum can you allocate in a single call to malloc()?

1057


Define virtual constructor.

1023


What is class syntax c++?

1084


Why are pointers used?

942


Write a program to find the reverse Fibonacci series starting from N.

1160


Are there any special rules about inlining?

1021


Is c++ an oop?

1021