What is a function?

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

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • We Helpline
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
3243 Views
Last post 11-04-2011, 00:33:08
by mack0
0 Replies
1332 Views
Last post 12-19-2015, 02:55:07
by chinmay.sahoo
0 Replies
935 Views
Last post 10-14-2016, 02:06:01
by beingchinmay
0 Replies
953 Views
Last post 10-17-2016, 05:11:01
by beingchinmay
2 Replies
1914 Views
Last post 07-16-2018, 04:17:40
by richardmsmith