sarma said:
int a,b,c;
printf ("%u %u %u \n",&a,&b,&c);
can you predict the result.
The behavior is undefined, therefore the result is unpredictable.
Had you written
printf("%p %p %p\n", (void*) &a, (void*) &b, (void*) &c);
then the behavior would no longer be undefined, but you would need to
specify exactly which compiler and architecture were being targeted,
since the result will vary between platforms.
Assume thet the first variable would be
stored at an address 65540
please don't overlook this as a coincidence or an accident
May be you could find an answer my previous question
Your previous question was answered. The answer was that you invoked
undefined behavior. Unless you're interested in mapping out exactly
what actions a specific compiler takes as a result of undefined
behavior (a fool's errand IMO since that can vary based on any number
of conditions, but whatever), that's as much of an answer as you need.