all about pointers

Answers were Sorted based on User's Feedback



all about pointers..

Answer / 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

all about pointers..

Answer / immanuel

it refers to the location or address of any other variable.
Pointer is denoted by * and the address is denoted by &

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More OOPS Interview Questions

Why is there no multiple inheritance?

0 Answers  


what is the size of an empty class

12 Answers   Wipro,


What is the full form of oops?

0 Answers  


what is multithreading in c++ , what is difference between multithreading and singlethreading.

4 Answers  


what is the difference between class and structure in C++?

9 Answers   Aspire, IBS, TCS,






What is pure oop?

0 Answers  


Can java compiler skips any statement during compilation time?

0 Answers  


What is function overloading and operator overloading?

4 Answers  


How is class defined?

0 Answers  


what is a class

6 Answers  


what is virtual function?

26 Answers   Aspire, HP, Infosys, RoboSoft, TCS,


who is the father of OPPS

4 Answers   Infosys, TCS,


Categories