Answer Posted / glibwaresoftsolutions
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
What is identifier in c?
How can you allocate arrays or structures bigger than 64K?
Explain the difference between malloc() and calloc() function?
What is self-referential structure in c programming?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Which is the best website to learn c programming?
Describe how arrays can be passed to a user defined function
Write a program to print “hello world” without using semicolon?
What do you mean by dynamic memory allocation in c? What functions are used?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What are the standard predefined macros?
What is scope and lifetime of a variable in c?
What are valid operations on pointers?
I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...