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
To tell the compiler that myArray points to an array of at least 10 ints:
void bar(int myArray[static 10])
A good compiler should give you a warning if you access myArray [10]. Without the "static" keyword, the 10 would mean nothing at all.