function pointer in c
// Basic syntax
ret_type (*fun_ptr)(arg_type1, arg_type2,..., arg_typen);
// Example
void fun(int a)
{
printf("Value of a is %dn", a);
}
// fun_ptr is a pointer to function fun()
void (*fun_ptr)(int) = &fun;
function pointer in c
// Basic syntax
ret_type (*fun_ptr)(arg_type1, arg_type2,..., arg_typen);
// Example
void fun(int a)
{
printf("Value of a is %dn", a);
}
// fun_ptr is a pointer to function fun()
void (*fun_ptr)(int) = &fun;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us