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
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
What is else if syntax?
What are destructors?
Describe linked list using C++ with an example.
What is the difference between public and private data members?
What is abstraction c++?
What is c++ iterator?
Can we specify variable field width in a scanf() format string? If possible how?
What is data abstraction? How is it different from data encapsulation?
What is istream and ostream in c++?
Eplain extern keyword?
Is ca high or low level language?
What is the difference between prefix and postfix versions of operator++()?
Do class declarations end with a semicolon? Do class method definitions?
Define Virtual function in C++.