为什么在c或c ++中不支持添加两个指针.
当我做,
int *ptr,*ptr1; int sum = ptr + ptr1;
C或C++会抛出错误.虽然它支持,
int diff = ptr - ptr1;
c c++ pointers
c ×1
c++ ×1
pointers ×1