Can we pass function as a parameter?

We cannot pass the function as an argument to another function . But we can pass the reference of a function as a parameter by using a function pointer. This process is known as call by reference as the function parameter is passed as a pointer that holds the address of arguments.

Sizin İçin Seçtik  Is CoinList site down?

Leave a Reply

Your email address will not be published. Required fields are marked *

Can we pass function as a parameter?

We cannot pass the function as an argument to another function . But we can pass the reference of a function as a parameter by using a function pointer. This process is known as call by reference as the function parameter is passed as a pointer that holds the address of arguments.

Sizin İçin Seçtik  Serbest piyasa ekonomisine geçiş ne zaman?

Leave a Reply

Your email address will not be published. Required fields are marked *