This will compile but it is certainly not correct, I've got strange outputs. I would be glad if someone can tell me the correct way.
void test(const char c[]={'\0'}); //It will compile but strange outputs
//void test(const char c[]={'x','\0'}); //compile error
void loop() {
const char c[] = {'u','h','u','\0'};
test();
test(c);
}
void test(const char c[]){
Serial.println(c);
}