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
What kind of problems can be solved by a namespace?
When is the destructor called?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
Is map thread safe c++?
What is basic if statement syntax?
Is linux written in c or c++?
What are compilers in c++?
Explain linear search.
Is c++ primer good for beginners?
How many types of modularization are there in c++?
What is a static element?
What are vtable and vptr?
Where is atoi defined?
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Which one is a preferred language C or C++? Why?