Skip to content
RED SAG Skills
easy5 pts · first answer countsembedded-cpointers

sizeof a pointer and an array

On a 32-bit Cortex-M, what do these two sizeof expressions give?

char name[20];
char *ptr = name;
size_t a = sizeof(name);
size_t b = sizeof(ptr);
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions