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.

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