Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 18.1 and Rule 11.3 compatibility
#3
Yes, sorry, the line in the example should have been like you said.


Code:
uint32_t variable = 0;
uint8_t * ptr = (uint8_t *)&variable;

(*ptr) = 0;
ptr++;      //line in question
(*ptr) = 0;      //line in question
<t></t>


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)