printf ("\n The Two Pointers have the same address.");
else
printf ("\n The Pointers have the different address.");
printf (“\n Address ofa(j)=%u",j);
printf (“\n Address ofa(k)=%u",k);
I
OUTPUT
The Two Pointers have the same address.
Address of a(j)= 4056
Address of a(k)= 4056
ExplanationThe comparison between the two pointers is done in the above program. The pointer
variable should be of the same data type while comparison is made. The comparison of pointers can
test whether the addresses are identical or different. Here, in this program pointer' j' and ' k' are o
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.