SHARE
TWEET

Untitled

a guest Jun 19th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static void foo(uint8_t *arr_ptr);
  2.  
  3. void main()
  4. {
  5.     uint8_t arr[4];
  6.     foo(&arr);
  7. }
  8.  
  9. static void foo(uint8_t *arr_ptr)
  10. {
  11.     for(uint8_t i=0; i<4; i++)
  12.     {
  13.         arr_ptr[i]=1; // Set to one just to make it simpler
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top