This is what I found during my learning period:
#include using namespace std; int dis(char a[1]) { int length = strlen(a); char c = a
It's allowed for compilers to be able to check whether the size of array passed is the same as what expected. Compilers may warn an issue if it's not the case.