Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Objective-C Basics (Retired) Pointers and Memory Array Size and Length

Rogerio Guimaraes
PLUS
Rogerio Guimaraes
Courses Plus Student 1,583 Points

Something is wrong

Hi, I guess exist some problem with the exercise. The right answer is not working

Stone Preston
Stone Preston
42,016 Points

what code are you using?

3 Answers

Rogerio Guimaraes
PLUS
Rogerio Guimaraes
Courses Plus Student 1,583 Points

I am using a very similar code in video

float real_number[5]; printf("A real_numbers can store %ld items\n",sizeof(real_numbers)/sizeof(float));

Stone Preston
Stone Preston
42,016 Points

you need to make sure you include the code for all tasks. You are missing the code from task 2 it looks like. You need to have the code for task 1, task 2, and task 3 present in order to pass the challenge. Dont remove code you wrote for previous tasks