filmov
tv
C Programming Tutorial #19, add two numbers using pointers

Показать описание
This program performs addition of two numbers using pointers. In our program we have two two integer variables x, y and two pointer variables p and q. Firstly we assign the addresses of x and y to p and q respectively and then assign the sum of x and y to variable sum. Note that & is address of operator and * is value at address operator.
For more detail
For more detail