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
In c++, what is the difference between method overloading and method overriding?
Can turbo c++ run c program?
Explain shallow copy?
What is size of string in c++?
Explain the operation of overloading of an assignment operator.
What is a hash function c++?
What is the difference between map and hashmap in c++?
Tell me what are static member functions?
Write a program to interchange 2 variables without using the third one.
What is the hardest coding language to learn?
What is the difference between method overloading and method overriding in c++?
Can static member variables be private?
Is it possible to use a new for the reallocation of pointers ?
Where and why do I have to put the "template" and "typename" keywords?
What is static in c++?