What is a function?

Author Topic: What is a function?  (Read 1598 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.


Offline richardmsmith

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 1
  • Posts: 210
  • Karma: 0
  • Gender: Male
    • https://mytaxipulse.com
Re: What is a function?
« Reply #1 on: 08-31-2018, 00:28:13 »
The function is nothing but a block in programming languages, It can be used to reusable code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree of code reusing.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3274 Views
Last post 11-04-2011, 00:33:08
by mack0
0 Replies
1382 Views
Last post 12-19-2015, 02:55:07
by chinmay.sahoo
0 Replies
1009 Views
Last post 10-14-2016, 02:06:01
by beingchinmay
1 Replies
1529 Views
Last post 08-29-2018, 02:36:36
by richardmsmith
2 Replies
2200 Views
Last post 07-16-2018, 04:17:40
by richardmsmith