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) Functional Programming in C Functions

Mohammad AL-Awadhi
Mohammad AL-Awadhi
852 Points

The question not very clear (challenge functions)

i didn't get the question of the challenge of the functions. if you can clarify more, i will be very thankful. regards

2 Answers

Stone Preston
Stone Preston
42,016 Points

all you need to do is implement the function. Dont write main() or the function prototype, dont write anything like that, just implement the function. It should look something like this

returnType functionName (dataType argumentOne, dataType argumentTwo) {

return something;

}

the challenge tells you what the return type, function name, and argument data types need to be as well as what you need to return.

Mohammad AL-Awadhi
Mohammad AL-Awadhi
852 Points

Thanks for the reply Stone. it was clear and it did works.

i hope also in the future if they can add for any Quiz/Challenge in the same page in any corner a step by step answers till the final answer for any Quiz or challenge.

Regards,