Hi,
I have this clarification. if we are passing arguments to a function, is it better to work completely with the arguments or create a local copy of the argument and work with the copy of the argument.
For example
ThanksCode:int main(void) { uint8_T var=0; dummy_function (&var); } void dummy_function(uint8_T *a_var_u8) { uint8_T *p_localcopy_u8 = a_var_u8; // use a_var_u8 or // use p_localcopy_u8 // for the remaining programming }
satya