#include <stdio.h> #include <string.h> int main(void) { char *str[3]={ "Hello,thisisasample!", "Hi,goodmorning.", "Helloworld" }; char s[80]; printf("size %d\n",sizeof(char [3])); // printf("size %d\n",sizeof(str)); // 3X4=12 printf("size %d\n",sizeof(*str)); // sizeof((char *)str)