Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Jeffrey Lawlis
374 PointsArray Length Quiz help
Im a little confused here. Either I'm missing the Objective-C part in the Video or they just aren't there. Like in the previous video %s wasn't even explained? Anyways, here is what I have so far:
float real_numbers[5] = {1.1, 2.2, 3.3, 4.4, 5.5}; printf("Array real_numbers is %ld bytes\n", sizeof(real_numbers)); printf("real_numbers can store %ld items.\n", sizeof(real_numbers)/sizeof(float));
3 Answers

Jason Anello
Courses Plus Student 94,597 PointsHi Jeffrey,
Your output for the last one doesn't match the format of what the challenge requested.
Output should be "Array real_numbers can store x items." You're missing "Array " at the beginning.

Jeffrey Lawlis
374 PointsOver thinking and missing details! Thanks for answering that despite the obvious!
Respectfully,
Jeff

Jeffrey Lawlis
374 PointsOver thinking and missing details! Thanks for answering that despite the obvious!
Respectfully,
Jeff
Jason Anello
Courses Plus Student 94,597 PointsJason Anello
Courses Plus Student 94,597 PointsAlso, this is fine for task 1:
float real_numbers[5];
You don't have to initialize the array with values. You simple need to declare space for 5 floats.