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
Who invented turbo c++?
Should the this pointer can be used in the constructor?
How the delete operator differs from the delete[]operator?
What is c strings syntax?
Define 'std'.
Does there exist any other function which can be used to convert an integer or a float to a string?
What is setiosflags c++?
What are guid?
How can you quickly find the number of elements stored in a dynamic array?
What is array in c++ example?
What is the main function c++?
What is the difference between public, private, and protected access?
Explain static and dynamic memory allocation with an example each.
What are the 2 main types of data structures?
What is the use of 'using' declaration in c++?