View Single Post
  #1 (permalink)  
Old January 12th, 2004, 02:34 AM
kv_shan kv_shan is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default howzzat!!.. array in c

say a[10] is an array of integers,and say i is an integer counter.
to print the array elements we say

for (i=0;i<n;i++)
printf("%d",a[i]);

but what if i say
printf("%d",i[a]) ;

???????????????????????????????????????what is the result and why is it so?
Reply With Quote