all about pointers

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


Please Help Members By Posting Answers For Below Questions

What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2105


Why is static class not inherited?

597


How can you overcome the diamond problem in inheritance?

768


What is the importance of oop?

610


How do you answer polymorphism?

577






What is the oops and benefits of oops programming?

553


What are the advantages of polymorphism?

576


What is the real life example of polymorphism?

606


Why is there no multiple inheritance?

568


What is this pointer in oop?

555


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1657


What is encapsulation oop?

576


What is polymorphism give a real life example?

560


Which method cannot be overridden?

578


What is polymorphism and types?

600