const char *array[] = {"ax","bo","cf"};
tried
printf("size of array = %lu\n", sizeof(const char*));
result != 3
also
printf("size of array = %lu\n", sizeof(array));
result != **DESIRED ANSWER** = 4
NOTE... I have read related questions on here but none had a relation with my question......
const,volatile) is the same as the size of a non-qualified pointer.constqualifier can make a pointer point to text (eprom), so using a different access than normal ram and sometimes a different size of the pointer.const,volatile, andrestrictqualifiers. The qualified or unqualified versions of a type are distinct types that belong to the same type category and have the same representation and alignment requirements.