Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a function in c?

Answer Posted / hr@tgksolutions.com

A function in C++ is a collection of statements designed to accept input, perform specific computations, and produce output. The primary purpose of a function is to group tasks that are frequently executed, which helps avoid code duplication. Instead of rewriting the same code for different inputs, you can simply call the function.
In essence, a function is a block of code that executes only when it is invoked.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of #define preprocessor in c?

1120


How can you tell whether two strings are the same?

1307


Can 'this' pointer by used in the constructor?

1133


How can I change their mode to binary?

1182


What are the advantages and disadvantages of a heap?

1258


Explain what is meant by 'bit masking'?

1264


How does free() know explain how much memory to release?

1108


What is multidimensional arrays

1174


What is a protocol in c?

1053


What is struct node in c?

1123


Tell us bitwise shift operators?

1143


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

1070


What is the c value paradox and how is it explained?

1107


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

1155


What is string function in c?

1049