hello friends,
i am facing trouble in understanding how does this code works and how does
sizeof( ) works? and why it is not entering in the loop ?
#include <stdio.h>
int main()
{
int i;
int array[]={ 2, 4, 45, 3, 21};
i = -9;
for ( ;i < sizeof(array);){
printf("%d\n",array[3]);
i++;
}
}
Thanks
Addytheboss
--
You received this message because you are subscribed to the Google Groups
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-code?hl=en.