If u want to perform a specific task then you 1st decide what to do and then decide how to do......that specific task is known as function for you....you are capable of performing a several tasks depending upon your abilities...each task is a separate function for you...e.g, your mom said to u to bring a fruits and after that she tell you to bring some vegetables for lunch then you perform 2 different functions but in 2 different times..in short ."FUNCTION IS A SET OF INSTRUCTIONS WHICH IS USED TO PERFORM A SPECIFIC TASK".....in other words consider a function as a black box...shocking..:O...BLACK BOX hmmm....but don't be excited...this black box is a simple device which takes some inputs and produces your desires output...now we have one more definition of function....A SET OF INSTRUCTION WHICH WILL TAKE SOME INPUTS AND PRODUCES THE OUTPUT ACCORDING TO THE INSTRUCTIONS ASSIGNED TO IT.......
No comments:
Post a Comment