#include #include #include void someFunc(char* s) { int i; i = strlen(s); int s2[i]; //tcc doesn't like this. printf("size of s2: %d\n", sizeof(s2)); } main() { char *a = "hi this is a string."; printf("string: %s\n", a); someFunc(a); exit(EXIT_SUCCESS); }