Problem solved

Hey, I was just wondering how it would be possible to enter the contents of an array through printf, or if it's possible.

I thought it would have been easy as 1,2,3:
printf(array[i]);

but apparently it's not, printf gives me some kind of error. could someone help me out with this?
Last edited on
You could printf() a temporary value, then store it to the array I suppose. (I assume that your code was part of a for loop)
Topic archived. No new replies allowed.