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
sieder villareal
4,016 PointsObjective-C Basics Array quiz
"Declare an array of type 'char' called "letters" with a size of 2. Assign the variable "alpha" as the first element of the array "letters"."
char letters[2]; letters[0] = "alpha";
what is the correct answer?
2 Answers
Holger Liesegang
50,595 PointsHi Sieder, you're assigning the STRING "alpha" to the variable letters and you've been asked to assign the VARIABLE alpha to letters (you might want to refer to variables without "").
sieder villareal
4,016 PointsGot it! I should've not deleted the answer from the first exercise, thanks for pointing it out :)