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) Beyond the Basics Pointers

Chris Jones
STAFF
Chris Jones
Treehouse Guest Teacher

First question mistake

The first question asks how you would print out the memory address of the variable int x. The print statements all begin with println not printf as was just shown in the video. Gave it a shot in XCode and no function named println exists.

2 Answers

Gareth Borcherds
Gareth Borcherds
9,372 Points

Not sure what you are seeing, but the video shows printf for me.

Gareth Borcherds
Gareth Borcherds
9,372 Points

Never mind, you mean in the question. Yeah, I didn't even notice that because I was just looking for the & sign. Definitely a typo.

Chris Jones
STAFF
Chris Jones
Treehouse Guest Teacher

Forgot that the questions are random, so it's not necessarily the first question in the quiz. Screenshot