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 / saikat ganguly

class val
{
int intval

public :
void func ()
{
print("\n Enter the value of intval);
scanf("%d",&intval);
}
};

void main()
{
val p
p.func();
getch();
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is operators in c++?

962


What does std :: flush do?

1082


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1002


What is object in c++ example?

1049


Are there interfaces in c++?

954


If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?

996


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

1077


Can we inherit constructor in c++?

1037


How does code-bloating occur in c++?

1149


Which is the best c++ software?

1056


What kind of jobs can I get with c++?

1055


What is array give example?

1003


What is difference between malloc()/free() and new/delete?

1129


write a programme to get a character and thier ASCII value

3007


What is a down cast?

1050