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

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

1012


Can I initialize unions?

987


Tell me when is a void pointer used?

1103


What are loops c?

997


Is a house a mass structure?

1052


What are file streams?

965


what is use of malloc and calloc?

1847


What is the benefit of using #define to declare a constant?

1044


When do we get logical errors?

1072


How can a string be converted to a number?

965


Differentiate between the = symbol and == symbol?

1208


What is meant by errors and debugging?

1056


Is register a keyword in c?

994


How can I automatically locate a programs configuration files in the same directory as the executable?

1103


What does %c mean in c?

1028