Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Gabriel D. Celery
    Gabriel D. Celery
    13,810 Points

    Declaring-implementing functions in C and in it's other variants.

    Posted January 4, 2016 8:26pm by Gabriel D. Celery
    Gabriel D. Celery
    13,810 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    0 Answers

  • Asad Kashmiry
    PLUS
    Asad Kashmiry
    Courses Plus Student 2,171 Points

    Want to know about function's work

    Posted September 22, 2015 7:13pm by Asad Kashmiry
    Asad Kashmiry
    Courses Plus Student 2,171 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    0 Answers

  • Surya Dutt
    PLUS
    Surya Dutt
    Courses Plus Student 2,875 Points

    code after return statement

    Posted August 30, 2015 8:07pm by Surya Dutt
    Surya Dutt
    Courses Plus Student 2,875 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Mikail Rahman
    PLUS
    Mikail Rahman
    Courses Plus Student 1,848 Points

    Functions

    Posted June 26, 2015 9:51pm by Mikail Rahman
    Mikail Rahman
    Courses Plus Student 1,848 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    0 Answers

  • Jianhui Li
    Jianhui Li
    287 Points

    What is return really do?

    Posted May 30, 2015 2:22pm by Jianhui Li
    Jianhui Li
    287 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    2 Answers

  • Mustafa Shakir
    Mustafa Shakir
    1,353 Points

    Is the further reading section below the video a necessary read or you can skip that and just learn from the videos?

    Posted May 13, 2015 11:57am by Mustafa Shakir
    Mustafa Shakir
    1,353 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Drew Greene
    Drew Greene
    5,086 Points

    I'm having trouble understanding this section.

    Posted April 5, 2015 9:37pm by Drew Greene
    Drew Greene
    5,086 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Shaun Kelly
    Shaun Kelly
    5,648 Points

    functions with char instead of int

    Posted February 21, 2015 2:26am by Shaun Kelly
    Shaun Kelly
    5,648 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    5 Answers

  • Shaun Kelly
    Shaun Kelly
    5,648 Points

    funkymath function and main function

    Posted February 21, 2015 1:39am by Shaun Kelly
    Shaun Kelly
    5,648 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    0 Answers

  • Yao Liu
    Yao Liu
    1,733 Points

    How to call another function within int main and why it does not work

    Posted February 2, 2015 3:24am by Yao Liu
    Yao Liu
    1,733 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Rami Ammoun
    Rami Ammoun
    7,468 Points

    Stuck in the Objective of this stage

    Posted December 13, 2014 5:22pm by Rami Ammoun
    Rami Ammoun
    7,468 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    3 Answers

  • Mark Bradshaw
    PLUS
    Mark Bradshaw
    Courses Plus Student 7,658 Points

    Struggling with functions in Objective - C. Need assistance.

    Posted November 5, 2014 6:42pm by Mark Bradshaw
    Mark Bradshaw
    Courses Plus Student 7,658 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Nicole Freed
    Nicole Freed
    695 Points

    Doesn't a function need to be initialized/defined before it's called?

    Posted September 4, 2014 10:53pm by Nicole Freed
    Nicole Freed
    695 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    6 Answers

  • Aaron Batchelder
    Aaron Batchelder
    3,240 Points

    Foo Bar vs. int a & int b

    Posted July 25, 2014 2:37pm by Aaron Batchelder
    Aaron Batchelder
    3,240 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    2 Answers

  • omar ramirez
    omar ramirez
    226 Points

    Order in which a function works.

    Posted July 19, 2014 3:24pm by omar ramirez
    omar ramirez
    226 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Matt Kalebic
    Matt Kalebic
    1,247 Points

    Function main()

    Posted July 17, 2014 2:04am by Matt Kalebic
    Matt Kalebic
    1,247 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    2 Answers

  • Blaine Fallis
    Blaine Fallis
    2,449 Points

    well done?

    Posted July 15, 2014 7:07pm by Blaine Fallis
    Blaine Fallis
    2,449 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    3 Answers

  • Vlatko .
    Vlatko .
    2,526 Points

    Why is the function written twice like this?

    Posted July 8, 2014 8:17pm by Vlatko .
    Vlatko .
    2,526 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    3 Answers

  • Dastan Aryngazy
    PLUS
    Dastan Aryngazy
    Courses Plus Student 1,660 Points

    about variables for first integer

    Posted June 14, 2014 6:46pm by Dastan Aryngazy
    Dastan Aryngazy
    Courses Plus Student 1,660 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • bronnyreinhardt
    bronnyreinhardt
    1,007 Points

    Function with two different parameter types

    Posted June 14, 2014 6:45am by bronnyreinhardt
    bronnyreinhardt
    1,007 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    3 Answers

  • wilsonkwan
    wilsonkwan
    3,174 Points

    What is the short-cut key to 'comment out' lines of code at once?

    Posted May 31, 2014 8:44am by wilsonkwan
    wilsonkwan
    3,174 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    4 Answers

  • Tad Hughes
    Tad Hughes
    460 Points

    Update functions video

    Posted May 15, 2014 9:17pm by Tad Hughes
    Tad Hughes
    460 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Peter Escartin
    Peter Escartin
    893 Points

    Breaking down the function lesson

    Posted April 23, 2014 11:57pm by Peter Escartin
    Peter Escartin
    893 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    2 Answers

  • Austin O'Hara
    Austin O'Hara
    845 Points

    Function Declarations

    Posted April 18, 2014 3:51am by Austin O'Hara
    Austin O'Hara
    845 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    1 Answer

  • Ernest Guaimano
    Ernest Guaimano
    14,928 Points

    Xcode comment shortcut.

    Posted April 17, 2014 9:28pm by Ernest Guaimano
    Ernest Guaimano
    14,928 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    2 Answers

  • Justine Lam
    Justine Lam
    8,785 Points

    The function example is pretty confusing

    Posted April 10, 2014 7:59pm by Justine Lam
    Justine Lam
    8,785 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    2 Answers

  • Lucas Caldeira
    PLUS
    Lucas Caldeira
    Courses Plus Student 578 Points

    Function challenge

    Posted April 8, 2014 10:01am by Lucas Caldeira
    Lucas Caldeira
    Courses Plus Student 578 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    9 Answers

  • Robert Kwiat
    Robert Kwiat
    5,349 Points

    Why do you need the variables a and b

    Posted March 2, 2014 4:12pm by Robert Kwiat
    Robert Kwiat
    5,349 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    3 Answers

  • Rami Bakri
    Rami Bakri
    782 Points

    How Xcode know which int variable is being referred to?

    Posted February 7, 2014 5:19pm by Rami Bakri
    Rami Bakri
    782 Points
    • iOS
    • Objective-C Basics (Retired)
    • Functional Programming in C
    • Functions

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord