Answer Posted / ps
Pointers are variables which hold the address of other
variables.
int i = 10;
int *a = &i;
i = 20;
where a will store the address of variable i and *a will
have the value of i.
There are different types of pointers in C++:
Null pointers
Void pointers
Wild pointers
this pointers
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
Why is static class not inherited?
How can you overcome the diamond problem in inheritance?
What is the importance of oop?
How do you answer polymorphism?
What is the oops and benefits of oops programming?
What are the advantages of polymorphism?
What is the real life example of polymorphism?
Why is there no multiple inheritance?
What is this pointer in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is encapsulation oop?
What is polymorphism give a real life example?
Which method cannot be overridden?
What is polymorphism and types?