answersLogoWhite

0


Best Answer

The valves stop the blood flowing backwards through the circulatory system.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the function of valves int the heart and the veins?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do declare function pointer having two integer parameters and returning integer pointers?

// declare a function int* function(int, int); or int* (function)(int, int); // declare a pointer to a function int* (*pointer_to_function)(int, int);


What is the difference between function and recursive function?

I will explain in the easiest way the difference between the function and recursive function in C language. Simple Answer is argument of the function is differ but in the recursive function it is same:) Explanation: Function int function(int,int)// function declaration main() { int n; ...... ...... n=function(a,b); } int function(int c,int d) { ...... ...... ...... } recursive Function: int recursive(int,int)// recursive Function declaration main() { int n; ..... ..... ..... ..... n=recursive(a,b); } int recursive(int a,int b) { ..... .... .... .... } Carefully see, In the recursive Function the function arguments are same.


What is style of function is not obsolete in c language?

Old: function (par1, par2) int par1; char *par2; {...} New: int function (int par1, char *par2) {...}


What is a prototype within a program?

Prototyping is done (at least in C/C++) to declare a function and tell the compiler how to use it before the int main(void) part of the program is run. The function is declared after main and is usually done as a style thing. example int function(int); int main(void) { int anumber = 1; x = function(anumber); return 0; } int function(int number) { //do something return number; } et cetera et cetera...


How is main function declared?

int main (void) or int main(int a, char **p)


How will you declare an array of three function pointers where each function receives two int and returns float?

typedef float (*pt_func)(int, int); pt_func arr[3];another way:float (*pt_func[3])(int, int);


Is int a statistical function?

No, 'int' is short for 'integer' (or 'integral' etc).


What is the difference between a function pointer and a pointer to a function?

A pointer to a function is the memory address that stores the address of a function, while the pointer itself is a function pointer.A pointer to a function might be defined as "int (*pf)(int, int);", while to actually point to the function, you would use a function pointer, such as "pf = &func;".


What does the C statement int open parenthesis asterisk f close parenthesis open parenthesis int asterisk close parenthesis declare?

The declaration int (*f) (int*); declares a function pointer named f. The function pointer can be assigned the address of any function that accepts a pointer to int and returns an int. Function pointers can be used to pass functions to functions. Normally we use typedefs to simplify the notation of function pointers: typedef int (*f) (int*); int x (int*); int y (int*); f fp; // declare a function pointer of type f int z = 42; fp = x; // point to the x function fp (&z); // invoke function via pointer fp = y; // point to the y function fp (&z); // invoke function via pointer. A typical usage of function pointers is to provide a predicate for a comparison sort algorithm. This makes it possible for the same sorting algorithm to compare objects using different predicates. For example: typedef bool (*pred) (int, int); // function pointer type named pred void sort (int a[], size_t len, pred func) { // simple shell sort for(int i=len/2; i>0; i=i/2) { for(int j=i; j<len; j++) { for(k=j-i; k>=0; k=k-i) { if( !func (a[k+i], a[k]) // invoke the predicate function { swap (a[k], a[k+i]); } } } } } // Declare predicates... bool less_than (int a, int b) { return a<b); bool greater_than (int a, int b) { return a>b; } int main () { int x[] = {3,5,2,4,1}; sort (x, 5, less_than); // sort array of 5 elements in ascending order sort (x, 5, greater_than); // sort array of 5 elements in descending order return 0; }


What are the applications of void data types inc plus plus?

void data type is used in function declaration. It can be explained by examle void add(int,int); this will tell the compiler that no value is going to be returned by the function. int add(int,int); this indicates that an integer type value will be returned by the function


Write a function in c that returns the largest value stored in an array-of-int Test the function in a simple program?

int max(int arr[], int arrSize){int maximum = arr[0];for (int i = 0; i < arrSize; i++){if (maximum < arr[i]){maximum = arr;}}return maximum;}


When is a function executed and where should a function prototype and function definition appear in a source program?

If you want to use prototype it has to be declared before main(). If you have a function of type double with one argument of type int (with name arg), and the function name is func, then we have:#include ...double func(int arg);...int main(...){...return 0;}...double func(int arg){...}