Computer Science, asked by karthisk, 6 months ago

Define Function with respect to Programming language ​

Answers

Answered by sg249344
4

A function is a block of organized, reusable code that is used to perform a single, related action. ... Different programming languages name them differently, for example, functions, methods, sub-routines, procedures, etc.

Function is nothing but a template which can be used again and again anywhere by just calling it.

Please mark me as the brainliest

Answered by Anonymous
1

Answer:

a function in a program is defined as a particular "action" to be undertaken by the computer. If you type in print ("hello world"), you will receive the output as "hello world" since the computer analyses the particular statement and acts out the defined function. Functions are of two types : user defined and built in. User defined begins with def x () and built in functions are installed functions such as print, input, list, tup, etc.

Similar questions