+ 3

hi guys, i m just a beginner in c++, this parts i means Pointers is difficult for me, i dont understand clearly and where can i use this if i built app. Is it important in c++ ?

9th Aug 2015, 11:37 AM
Tuang Hau Mun
Tuang Hau Mun - avatar
7 Answers
+ 8
A pointer is similar to a variable in that it stores a value for later use in the execution of your program. However, a pointer has further significance in that the location in computer memory is also stored along with the value... You may ask, "Why store the location along with the value?" Because, using the pointer in subroutines versus accessing the data itself (in most cases) will improve the performance and utilization of computer resources. The effect is that elapsed run time is decreased.
2nd Feb 2016, 9:24 PM
E Walker
+ 2
An address is certain code that is defined when a variable is defined. This is clearer: http://alumni.cs.ucr.edu/~pdiloren/C++_Pointers/
4th Dec 2015, 1:26 PM
learnm
learnm - avatar
+ 1
a pointer stores the address of another variable and it just has the reference not value of another object , it is compulsory that the data type of pointer and the data type of variable (which the pointer variable refer ) must be same ,. USES:- in c++ pointers are frequently use in polymorphism, link lists etc.
29th Aug 2016, 9:14 PM
mirza arslan
mirza arslan - avatar
+ 1
hi Ariess :-) :-) :-) :-) :-) :-)
14th Dec 2016, 11:04 AM
Billy Anak Leo
Billy Anak Leo - avatar
0
a pointer stores the address of an object as simple as it is given
30th Jan 2016, 4:50 PM
kartik jassal