you have n't initialised the variable i with any value:
let's say i=2000
then
j=2000+2*2 since integral pointers take 2 bytes
 =2004
 
k=2000

gururaj bo <[EMAIL PROTECTED]> wrote:

--- sudhan_rect <[EMAIL PROTECTED]> wrote:
> Hi all,
>   I need the explanation for the following program.
> If you could help
> me...please do so.
>
>  void main ()
>   {
>     int *i,*j,**k;// i& j int pointer and k is
pointer to pointer to int
>     j = i+2;// initializing j, this is allowed    
>     *k = i; // initializing k to i, since K is PtoP
>     printf ("*k = %u , j = %u , i = %u ",*k,j,i);
>   }
>


> With Regards,
> MADHUSUDHAN.S
>    ...Knowledge is Power...
>
>
>
>
>
>
>



           
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250


To unsubscribe : [EMAIL PROTECTED]





Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.

To unsubscribe : [EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to