C Programming - Complicated Declarations - Discussion

Discussion Forum : Complicated Declarations - True / False Questions (Q.No. 3)
3.
We can modify the pointers "source" as well as "target".
True
False
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
11 comments Page 1 of 2.

Muktha said:   2 years ago
The source to which a pointer variable points is called a target, so technically source and target are the same in pointer because the pointer is for storing the location of the variable. So when we change the source, we are changing the target as well.

Vijay said:   8 years ago
Can you give one example?

Vishalakshi said:   9 years ago
@Rupsha.

It is the base address where the pointer points to. Thanks.

Rupsha said:   1 decade ago
What is source address and target address in a pointer.

Chandan kumar gupta said:   1 decade ago
Yes, because pointer points the source and target at a same time because source and target both are same in pointer.
So we can modify both with the help of pointer.

Sudha said:   1 decade ago
We can modify the source and target.

SH@HID said:   1 decade ago
Please explain that how source and target addresses are same in pointers?

Ravi said:   1 decade ago
Thanks Akhil.

Akhilvallab said:   1 decade ago
If source address is changed then by default target address is also changed.

Preetha said:   1 decade ago
In pointers source and target are same so we can modify.


Post your comments here:

Your comments will be displayed after verification.