More importantly, run the following loops. What is the output, and why is it so?
for (i=0;i<n;i++)
printf("%d",a[i]);
for (i=0;i<n;i++)
printf("%d",*(a+i));
"The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." - Donald Knuth
|