function as an argument in another function

Passing a function to another function means it passes the return value to the function.

Example

#include<stdio.h>
int func()
{
	return 400;
}
void get(int a)
{
	printf("%d",a);
}
int main()
{
	get(func()); // calling with function name
	return 0;
}

Output

400