/* File: weird1.c Running this simple program with global variables produces a very strange error. */ #include #include "genlib.h" #include "simpio.h" #include "strlib.h" int strlen ; string str ; main() { int length ; printf ("Enter a string: ") ; str = GetLine() ; length = StringLength(str) ; printf ("The length of that string is: %d\n", length) ; } _________________________________________________________ retriever% cc201 weird1.c retriever% retriever% a.out Enter a string: hello world Illegal instruction (core dumped)