What is a function?

Author Topic: What is a function?  (Read 670 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • Hot Shaper
What is a function?
« on: 01-09-2017, 05:51:05 »
A function is a way of wrapping up a chunk of code and giving that chunk a name, so that you can use that chunk later in just one line of code. Functions are most useful when you will be using the code in more than one place, but they can be helpful even in one-use situations,
because they can make your code much more readable.


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3045 Views
Last post 11-04-2011, 00:33:08
by mack0
0 Replies
1167 Views
Last post 12-19-2015, 02:55:07
by chinmay.sahoo
0 Replies
708 Views
Last post 10-14-2016, 02:06:01
by beingchinmay
0 Replies
694 Views
Last post 10-17-2016, 05:11:01
by beingchinmay
1 Replies
1388 Views
Last post 09-27-2017, 00:51:43
by damponting44