Why is size of this char variable equal 1?
int main(){
char s1[] = \"hello\";
fprintf(stderr, \"(*s1) : %i\\n\", sizeof(*s1) ) // prints out 1
}
sizeof(*s1) means its denotes the size of data types which used. In C there are 1 byte used by character data type that means sizeof(*s1) it directly noticing to the character which consumed only 1 byte.
If there are any other data type used then the **sizeof(*data type)** will be changed according to type.