#include int main() { int i=10,j=20,diff; diff=&j-&i; printf(\"\\nAddress of i=%u Address of j=%u\",&i,&j); printf(\"
When an 2 integer variables are declared its not necessary for the second variable to occupy the next four bytes of the address occupied by the first variable?
NO, The address can be anywhere, the compiler chosses, unless ofcourse you have an array.