#include int main() { int i=10,j=20,diff; diff=&j-&i; printf(\"\\nAddress of i=%u Address of j=%u\",&i,&j); printf(\"
Did you try:
diff=(int)&j-(int)&i;