(L-10)ARRAY,POINTES AND ARITHEMATIC IS
C++
WHAT IS THE POINTER --->pointer is the data type which is used to store another
data type within itself.
& --->It is used for finding the address of variable.
* --->It is used for finding the value which is stored in the
particular data type.
ARRAY --->It is a collection of items of similar type stored in contagiuos memory
locations.
NOTE ---->In pointer we use '&' to find the address but it would be wrong if we use
it in arrays.
POINTER ARITHEMATIC[syntax]
address(new)=address(currents)+i*size of data type
C++
WHAT IS THE POINTER --->pointer is the data type which is used to store another
data type within itself.
& --->It is used for finding the address of variable.
* --->It is used for finding the value which is stored in the
particular data type.
ARRAY --->It is a collection of items of similar type stored in contagiuos memory
locations.
NOTE ---->In pointer we use '&' to find the address but it would be wrong if we use
it in arrays.
POINTER ARITHEMATIC[syntax]
address(new)=address(currents)+i*size of data type