I am trying to write the code for my hardware whose flow would be something like this


struggling to implement function-function-flow-jpg

Code:
#include<stdio.h>

void start()
{
	printf("Start \n");
}
void send(int D)
{
	int i;
	for (i=0; i<8; i++)
	    {     
	      printf("%d\n");
		}
}
int get()
{
	if(1==0)
		return 1;
	else
		return 0;
)


#include<stdio.h>
int main ()
{  
   int p; 
   int A = 0;
   int n = 5
   arry[4] = (1, 2, 3, 4);
   p = SendD(A, n, array);   


}
I am struggling with this function

Code:
int SendD ( A, n, *pointer){
	int value;
	start();
    send(A);
	value = get();	
}
How to make function according to drawing ?