Answers for "how to call a void function in c"

2

void function

public void Yourvoidname()
{
	//Whatever you want to happen when your void is called
}


//somewhere else in your script, for example start()
void Start()
{
	Yourvoidname();
    //when the start function is called(first frame) your void will be called
}
Posted by: Guest on November-18-2020
0

calling of a void in c

#include <stdio.h>

    void print_all(warehouse[][M], float price[], int n);

    int
    main(int argc, char *argv[]) {

        char warehouse[][]; /* whatever your limits are in the arrays */
        float price[];

        print_all(warehouse, price, n);
        return 0;
    }
Posted by: Guest on December-16-2021

Code answers related to "how to call a void function in c"

Browse Popular Code Answers by Language