B
blackneos940
Guest
So basically, how are you guys doin'.....? :3 I was away for a while, just thinkin', Programmin', and doing Karate and Ninjutsu like I always do.... :3 But my issue with C is this: I just can't seem to fully understand Arrays..... Here:
I get everything EXCEPT the part which deals with, and Prints the Array..... What's up with that.....?? I get "int", "printf", "return 0", etc., etc..... It's the REST I don' get....... Thanks for any help, guys.....
Code:
#include <stdio.h>
int main()
{
/* This commented part is the process I don't understand..... :(
int marks[] = {35, 45, 55, 65, 75, 85};
float avg[2];
avg[0] = 65.5;
avg[1] = 75.8;
printf ("%d\n", marks[0]);
printf ("%d\n", marks[3]);
printf ("%f\n", avg[0]);
*/
return 0;
}
I get everything EXCEPT the part which deals with, and Prints the Array..... What's up with that.....?? I get "int", "printf", "return 0", etc., etc..... It's the REST I don' get....... Thanks for any help, guys.....