answersLogoWhite

0


Best Answer

yes

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can one pointer subtracted from another pointer?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is generic pointer in C?

When a variable is declared as being a pointer to type void it is known as a generic pointer. Since you cannot have a variable of type void, the pointer will not point to any data and therefore cannot be dereferenced. It is still a pointer though, to use it you just have to cast it to another kind of pointer first. Hence the term Generic pointer.


What does pointer to pointer finger mean?

yea that's why its called the point FINGER


How many type of pointer in c?

A pointer is a pointer to something else. One way to look at it is that there is only one pointer type - an address to something else. Another way to look at it is to see how many different types there are, such as int, char, float, struct, double, etc. and to realize that you can build a pointer to any of them, as well as a pointer to a pointer to any of them, etc., etc., etc. Bottom line, is there are an unlimited number of types of pointers.


What is thread pointer?

It is a pointer.You can pass a smart pointer from one thread to another, and the two threads are free to use their smart pointers just as they were native pointers. They can copy them, assign them, and do whatever they want with them, and the smart pointer will not get you into trouble.


What is an array of pointers to pointers?

A pointer is a variable that stores value of address of a variable. Since a pointer itself is a variable, it is allocated a memory location.Pointer to pointer means a pointer which points to the address of a pointer. In other words a pointer to a pointer has the address of the address of a variable.We can have pointers to int, and pointers to char, and pointers to any structures we've defined, and in fact pointers to any type in C, it shouldn't come as too much of a surprise that we can have pointers to other pointers. If we're used to thinking about simple pointers, and to keeping clear in our minds the distinction between the pointer itself and what it points to, we should be able to think about pointers to pointers, too, although we'll now have to distinguish between the pointer, what it points to, and what the pointer that it points to points.

Related questions

The ammount that remains after one quantity is subtracted from another?

the difference


What is generic pointer in C?

When a variable is declared as being a pointer to type void it is known as a generic pointer. Since you cannot have a variable of type void, the pointer will not point to any data and therefore cannot be dereferenced. It is still a pointer though, to use it you just have to cast it to another kind of pointer first. Hence the term Generic pointer.


What is pointer of pointer?

pointer is the variable that holds the address of another variable


What is the answer when you subtract?

When one number is subtracted from another number, the result is known as the difference.


What are pointer to pointer?

A pointer only holds an address information (location) in the memory. if a pointer holds points another pointer then it is a pointer to an other pointer. Pointer holds an address in the memory so in that address there is an other location information that shows another location.


What a number that is to be subtracted from another number?

The subtrahend is the number that is subtracted from another number, called the minuend, that results in the difference.


Result obtained when one number is subtracted from another number is called what?

Difference


Use of double pointer?

A double pointer has two basic meanings. One is ofa pointer to a pointer, where changing the value ofdouble pointer will result in the original pointer being changed. Another is that of a two-dimentional array, such as a matrix, or a list of char* (e.g. in main when you use argv).


Can percents be multiplied subtracted added and divided?

They can be added and subtracted. Multiplying one percentage by another usually doesn't make sense (square percent?), and if you divide one percentage by another, you get the ratio between them as a result (the result won't be a percentage in this case).


What does pointer to pointer finger mean?

yea that's why its called the point FINGER


In pointers what is the use of pointer variable?

Pointer is a variable that stores the address of another variable . So pointer basically stores the address of another variable and size of pointer can be evaluated by using sizeof operator.


When two whole numbers are subtracted does it affect the difference?

When you subtract one number from another, the result is called the difference. What does your question mean? If by "when two whole numbers are subtracted" you mean that you subtract one whole number from the minuend, and then you subtract another whole number from the difference, then the answer you get is another difference. In effect, you have one minuend and two subtrahends.