Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/03/10 14:23
Read: times


 
#175622 - Array name is already a pointer.
Responding to: ???'s previous message
Note that data_to_eeprom[] is an array, which means that the name data_to_eeprom in itself is a pointer. So no need to write &data_to_eeprom - or if you feel a strong need to use the address-of operator, you can write &data_to_eeprom[0] which represents the address of the first element of the array. Taking &data_to_eeprom means the address of a 64-byte array, and not the address of an unsigned char.

List of 7 messages in thread
TopicAuthorDate
Passing a pointer to a function            01/01/70 00:00      
   'C' textbook time!            01/01/70 00:00      
      Char-red            01/01/70 00:00      
         Typo            01/01/70 00:00      
   Corrected code            01/01/70 00:00      
      'C' textbook time!            01/01/70 00:00      
      Array name is already a pointer.            01/01/70 00:00      

Back to Subject List