/* Example of compiler in C preventing compilation of mis-matched data types passed to a function... Purpose: To draw attention to limitations of C programming and how C++ programs can better handle complex situations, this is just a simple example to show in "your own mind" with the level of C programming knowledge to date... compile and run to see... */ #include void foo(char x[]); int main() { foo(-25); return 0; } void foo(char x[]) { printf("%s", x); }