+ 5
Can someone explain me how pointers work?
Pointers
4 Respostas
+ 3
pointers r just data types same as int,float,string ..
as int stores integers.
pointers stores memory address of another variables.
so take memory as lockers for example.
each locker represents a byte.
and there is certain name of lockers and that is memory address..
without concept of pointers u cannot have string as data type.
think over it
+ 2
valentine i am challenging u lets have a series of 7 matches in js and c++ both
+ 1
Every object in C++ has access to its own address through an important pointer called this pointer. The this pointer is an implicit parameter to all member functions. Therefore, inside a member function, this may be used to refer to the invoking object.
+ 1
pointers assign memory to variables.... not sure but I heard that it can increase the compiling speed as memory is allocated to the definite variables....