Understanding arguments in avr/eeprom.h functions

However in virtually every example of code I've seen the word const, if used, is on the left. eg.

const byte ledPin = 5;

Example, from stdlib.h:

extern unsigned long strtoul(const char *__nptr, char **__endptr, int __base);
...
extern long atol(const char *__s) __ATTR_PURE__;
...
extern int atoi(const char *__s) __ATTR_PURE__;

char const * p = "hello";

For me that is the ambiguous case because const is between the type and the asterisk. You have to remember which way "const" associates. And it looks like you are saying "const pointer".


At least:

const char * p = "hello";

Make it look like a "const char" ... pointer ... named p.