Pointer To A Function

The function: WORD my_function_name (BYTE a, WORD b); Declaring a pointer to a function: WORD (*p_function)(BYTE a, WORD b); Loading it: p_function = &my_function_name; Calling it: btemp = my_function_name(1, 2); or btemp = (*my_function_name)(1, 2); If your function returns a pointer of some sort then thts fine, just add the extra asterix: WORD *my_function_name (BYTE […]

Read More

Memory Pointers

Write to a specific location in memory Using pointers with an array index Calling Function That Wants A Constant Pointer With A Variable Pointer

Read More