1. pointer to a constant means you can not change what the pointer points to
2. constant pointer means you can not change the pointer.
There is no difference between them they are same rate constant is another name of specific rate constant
the difference between a constant in a graph and a constant in a experiment is that when on a graph, the constant is the thing that changes, and in a experiment it is the part that stays the same.
nothing
In contrast, for an ellipse it is the ''sum'' of these distances that is a constant
In an arithmetic sequence, the difference between any term and the previous term is a constant.
Pointer to constant *ptr=10 statement is invalid in pointer to constant i.e assigning value is illegal ptr++ statement is valid in pointer to constant. pointer can be incremented and decremented, Pointer is pointing to constant data object. Declaration: const int *ptr; Constant pointers: *ptr= 10 is absolutely valid in constant pointers i.e assigning value is perfectly legal ptr+++ statement is invalid in constant pointers. pointer can not be incremented or decremented. Declaration; int *const ptr;
Generic pointer of type 'void *' is compatible with any (data-)pointer, but you cannot use the following operators on it: + - ++ -- += -= * -> []
There is no similarity between the two.
There is no difference between them they are same rate constant is another name of specific rate constant
the difference between a constant in a graph and a constant in a experiment is that when on a graph, the constant is the thing that changes, and in a experiment it is the part that stays the same.
constant pointer and character pointer
A structure is a collection of primitives or other structures. A pointer is a memory address. Comparison of the two is like comparing bowling balls to cinder blocks. You can say that a structure defines the layout of the data, while a pointer points to data that is a particular structure.
difference between ordinary prism and constant deviation prism
nothing
dfs sd
Array is a data type which can be represented as a[1],a[2],a[3].... Pointer is also a data type. The speciality of pointer is instead of address of the variable it will give the reference to the address of the variable. E.g. int *test Here test is a pointer variable. which will be the reference to the address == One dimensional arrays are constant pointers, you cannot change their values, eg: int a[10], *pa = &a[3]; p[0]= a[0]; // ok a[0]= p[0]; // ok p= a; // ok a= p; // INVALID for a is constant
bobo